<div dir="ltr"><div><div><div><div>Dipu,<br><br></div>I think you would benefit from Software Carpentry lessons to give you a leg up. It is geared towards scientists, but it should be useful none-the-less: <a href="http://software-carpentry.org/lessons/">http://software-carpentry.org/lessons/</a><br><br></div>My personal recommendation for a book is O'Reilly's "Learning Python": <a href="http://shop.oreilly.com/product/0636920028154.do">http://shop.oreilly.com/product/0636920028154.do</a>. I read this book during a 4 hour plane ride. I got on the plane with no python knowledge, and I came off the plane with enough knowledge to understand the examples posted online and ask specific questions on mailing lists.<br><br></div>I hope these suggestions are useful!<br></div>Ben Root<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 4, 2016 at 11:22 AM, Dipankar “Dipu” Ganguly <span dir="ltr"><<a href="mailto:dipugee@gmail.com" target="_blank">dipugee@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I have a newbie question…<div><br></div><div>What does this syntax really do? I would really like to understand the basic principles invoked here, especially the function of the “.” separator. Is there a tutorial that will help me with such things?</div><div><br></div><div>Thanks.</div><div><br></div><div>Dipu</div><div><pre style="font-family:Monaco,Menlo,Consolas,'Courier New',monospace;font-size:0.9em;border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-top-left-radius:4px;border-top-right-radius:4px;letter-spacing:0.015em;padding:1em;border:1px solid rgb(204,204,204);background-color:rgb(248,248,248);line-height:17.639999389648438px;color:rgb(51,51,51)"><span style="color:rgb(0,112,32);font-weight:bold">from</span> <span style="color:rgb(14,132,181);font-weight:bold">matplotlib.pyplot</span> <span style="color:rgb(0,112,32);font-weight:bold">import</span> <span>figure</span><span>,</span> <span>show</span></pre></div><div><span class=""><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">Dipankar Ganguly<br>Consultant: Strategy/<wbr>Technology/Commercialization<br>Bothell, WA<br>Cell: <a href="tel:408-203-8814" value="+14082038814" target="_blank">408-203-8814</a><br>email: <a href="mailto:dipugee@gmail.com" target="_blank">dipugee@gmail.com</a><br><a href="http://www.linkedin.com/in/dipugee" target="_blank">http://www.linkedin.com/in/<wbr>dipugee</a> <br><br><br><br><br><br><br><br><br></div></div>
</div>

<br></span><div><blockquote type="cite"><span class=""><div>On Aug 4, 2016, at 8:05 AM, Benjamin Root <<a href="mailto:ben.v.root@gmail.com" target="_blank">ben.v.root@gmail.com</a>> wrote:</div><br></span><div><span class=""><div dir="ltr"><div><div><div>The gallery is an excellent place to start for questions like these. Here is the mplot3d section: <a href="http://matplotlib.org/gallery.html#mplot3d" target="_blank">http://matplotlib.org/gallery.<wbr>html#mplot3d</a><br><br></div>Your figure is a combination of the 3d plot() calls for the line portions, and 3d scatter() calls for the dots (see <a href="http://matplotlib.org/examples/mplot3d/scatter3d_demo.html" target="_blank">http://matplotlib.org/<wbr>examples/mplot3d/scatter3d_<wbr>demo.html</a>), and mathtext for the labels (see <a href="http://matplotlib.org/examples/pylab_examples/mathtext_demo.html" target="_blank">http://matplotlib.org/<wbr>examples/pylab_examples/<wbr>mathtext_demo.html</a>). Let us know if you have questions.<br><br></div>Cheers!<br></div>Ben Root<br><br></div></span><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Thu, Aug 4, 2016 at 10:50 AM, Jose Borreguero <span dir="ltr"><<a href="mailto:borreguero@gmail.com" target="_blank">borreguero@gmail.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><div class="gmail_default" style="color:#38761d">Dear Matplotlib users,</div><div class="gmail_default" style="color:#38761d"><br></div><div class="gmail_default" style="color:#38761d">I have a fancy graph created in Origin that I want to emulate with matplotlib:</div></span><div class="gmail_default" style="color:#38761d"><span><junk.jpg></span></div><span class=""><div class="gmail_default" style="color:#38761d">The curves S(Q,w) have each a constant value for Q, they are stacked along the Q-axis. I'm a newbie with matplotlib, can you please give me some pointers, like which classes should I employ to make this figure?</div><div class="gmail_default" style="color:#38761d"><br></div><div class="gmail_default" style="color:#38761d">.Jose<br>​<br></div></span></div><span class="">
<br>______________________________<wbr>_________________<br>
Matplotlib-users mailing list<br>
<a href="mailto:Matplotlib-users@python.org" target="_blank">Matplotlib-users@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-users" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/matplotlib-users</a><br>
<br></span></blockquote></div><br></div><span class="">
______________________________<wbr>_________________<br>Matplotlib-users mailing list<br><a href="mailto:Matplotlib-users@python.org" target="_blank">Matplotlib-users@python.org</a><br><a href="https://mail.python.org/mailman/listinfo/matplotlib-users" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/matplotlib-<wbr>users</a><br></span></div></blockquote></div><br></div></div></blockquote></div><br></div>