Most viewed recipes tagged "plots"http://code.activestate.com/recipes/tags/plots/views/2015-04-29T07:09:33-07:00ActiveState Code RecipesCustomizing polar plots in matplotlib (Python) 2008-09-06T05:31:02-07:00Kaushik Ghosehttp://code.activestate.com/recipes/users/4166965/http://code.activestate.com/recipes/576493-customizing-polar-plots-in-matplotlib/ <p style="color: grey"> Python recipe 576493 by <a href="/recipes/users/4166965/">Kaushik Ghose</a> (<a href="/recipes/tags/matplotlib/">matplotlib</a>, <a href="/recipes/tags/plots/">plots</a>, <a href="/recipes/tags/polar/">polar</a>). </p> <p>This snipped illustrates the use of thetagrids and rgrids to customize the polar plot grid</p> Lecture 1: Applications of Python in Bioinformatics: Visualizing Protein (Python) 2015-04-29T07:09:33-07:00Devashish Dashttp://code.activestate.com/recipes/users/4192116/http://code.activestate.com/recipes/579050-lecture-1-applications-of-python-in-bioinformatics/ <p style="color: grey"> Python recipe 579050 by <a href="/recipes/users/4192116/">Devashish Das</a> (<a href="/recipes/tags/3d/">3d</a>, <a href="/recipes/tags/bioinformatics/">bioinformatics</a>, <a href="/recipes/tags/plots/">plots</a>, <a href="/recipes/tags/protein/">protein</a>, <a href="/recipes/tags/python/">python</a>). </p> <p>This code reads 1qlz.pdb protein file can be downloaded from <a href="http://www.rcsb.org/pdb/files/1QLZ.pdb" rel="nofollow">http://www.rcsb.org/pdb/files/1QLZ.pdb</a> and plots a 3D graph using maplotlib library. For mystery write to me: <a href="mailto:devashish.das@educept.com">devashish.das@educept.com</a></p> <pre class="prettyprint"><code>__author__ = Devashish Das __contact__ = +91-9964218681 __email__ = <a href="mailto:deavshish.das@educept.com">deavshish.das@educept.com</a> __website__ = <a href="http://www.educept.com">http://www.educept.com</a> </code></pre> An alternative way to draw parallels and meridians with basemap (Python) 2013-01-05T15:59:24-08:00PGhttp://code.activestate.com/recipes/users/4184598/http://code.activestate.com/recipes/578399-an-alternative-way-to-draw-parallels-and-meridians/ <p style="color: grey"> Python recipe 578399 by <a href="/recipes/users/4184598/">PG</a> (<a href="/recipes/tags/layout/">layout</a>, <a href="/recipes/tags/map/">map</a>, <a href="/recipes/tags/plots/">plots</a>, <a href="/recipes/tags/plotting/">plotting</a>). Revision 2. </p> <p>Basemap is a toolkit of matplotlib used to plot geographic maps.</p> <p>With this function you can:</p> <ul> <li><p>Draw the latitude/longitude grid easily in one line of code, specifying the lat/lon intervals.</p></li> <li><p>Use rcParams, so all your figures will look more consistent.</p></li> <li><p>Specify the label pad <em>in points</em> (instead of projection units).</p></li> <li><p>Place the labels indicating which margins will be used.</p></li> </ul>