Popular recipes tagged "plotting" but not "matplotlib"http://code.activestate.com/recipes/tags/plotting-matplotlib/2013-01-05T15:59:24-08:00ActiveState Code RecipesAn 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>