Revision: 5950 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5950&view=rev Author: jswhit Date: 2008-08-01 18:03:01 +0000 (Fri, 01 Aug 2008)
Log Message: ----------- update lsmask call Modified Paths: -------------- trunk/toolkits/basemap/examples/geos_demo.py Modified: trunk/toolkits/basemap/examples/geos_demo.py =================================================================== --- trunk/toolkits/basemap/examples/geos_demo.py 2008-08-01 18:00:58 UTC (rev 5949) +++ trunk/toolkits/basemap/examples/geos_demo.py 2008-08-01 18:03:01 UTC (rev 5950) @@ -9,10 +9,9 @@ fig=plt.figure() m = Basemap(projection='geos',lon_0=lon_0,rsphere=(6378137.00,6356752.3142),resolution=None) # plot land-sea mask. -rgba_land = (0,255,0,255) # land green. -rgba_ocean = (0,0,255,255) # ocean blue. +# land red, oceans blue. # lakes=True means plot inland lakes with ocean color. -m.drawlsmask(rgba_land, rgba_ocean, lakes=True) +m.drawlsmask('red','blue',lakes=True) # draw parallels and meridians. m.drawparallels(np.arange(-90.,120.,30.)) m.drawmeridians(np.arange(0.,420.,60.)) 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