Latest recipes tagged "projections"http://code.activestate.com/recipes/tags/projections/new/2012-12-15T11:49:52-08:00ActiveState Code RecipesPlotting maps with Polar Stereographic projection focused in a region with Basemap (Python)
2012-12-15T11:49:52-08:00PGhttp://code.activestate.com/recipes/users/4184598/http://code.activestate.com/recipes/578379-plotting-maps-with-polar-stereographic-projection-/
<p style="color: grey">
Python
recipe 578379
by <a href="/recipes/users/4184598/">PG</a>
(<a href="/recipes/tags/map/">map</a>, <a href="/recipes/tags/matplotlib/">matplotlib</a>, <a href="/recipes/tags/plotting/">plotting</a>, <a href="/recipes/tags/projections/">projections</a>, <a href="/recipes/tags/stereographic/">stereographic</a>).
Revision 3.
</p>
<p>When plotting maps with either 'npstere' or 'spstere' projections with the Basemap toolkit for Matplotlib, the pole will always be placed in the center of the figure. With this function you can zoom the map to the area of interest by giving the latitude/longitudes coordinates of the bounds.</p>