Revision: 6129 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6129&view=rev Author: jswhit Date: 2008-09-28 13:26:18 +0000 (Sun, 28 Sep 2008)
Log Message: ----------- fix cyl example. Modified Paths: -------------- trunk/toolkits/basemap/examples/warpimage.py Modified: trunk/toolkits/basemap/examples/warpimage.py =================================================================== --- trunk/toolkits/basemap/examples/warpimage.py 2008-09-28 03:07:04 UTC (rev 6128) +++ trunk/toolkits/basemap/examples/warpimage.py 2008-09-28 13:26:18 UTC (rev 6129) @@ -56,10 +56,12 @@ # draw coastlines. m.drawcoastlines(linewidth=0.5,color='0.5') # draw lat/lon grid lines. -m.drawmeridians(np.arange(-180,180,60),labels=[0,0,0,1],color='0.5') +m.drawmeridians(np.arange(0,360,60),labels=[0,0,0,1],color='0.5') m.drawparallels(np.arange(-90,90,30),labels=[1,0,0,0],color='0.5') plt.title("Blue Marble image - non-native 'cyl' projection",fontsize=12) print 'plot non-native cylindrical map (warping needed) ...' +plt.show() +raise SystemExit # create new figure fig=plt.figure() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins