From: <js...@us...> - 2007-11-30 17:33:00
|
Revision: 4528 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4528&view=rev Author: jswhit Date: 2007-11-30 09:32:59 -0800 (Fri, 30 Nov 2007) Log Message: ----------- color ocean areas Modified Paths: -------------- trunk/toolkits/basemap/examples/garp.py trunk/toolkits/basemap/examples/geos_demo.py Modified: trunk/toolkits/basemap/examples/garp.py =================================================================== --- trunk/toolkits/basemap/examples/garp.py 2007-11-30 16:16:34 UTC (rev 4527) +++ trunk/toolkits/basemap/examples/garp.py 2007-11-30 17:32:59 UTC (rev 4528) @@ -32,9 +32,9 @@ # 20 degree graticule. m.drawparallels(arange(-80,81,20)) m.drawmeridians(arange(-180,180,20)) -# draw a red dot at the center. +# draw a black dot at the center. xpt, ypt = m(lon_0, lat_0) -m.plot([xpt],[ypt],'ro') +m.plot([xpt],[ypt],'ko') # draw the title. title('The World According to Garp in '+location) show() Modified: trunk/toolkits/basemap/examples/geos_demo.py =================================================================== --- trunk/toolkits/basemap/examples/geos_demo.py 2007-11-30 16:16:34 UTC (rev 4527) +++ trunk/toolkits/basemap/examples/geos_demo.py 2007-11-30 17:32:59 UTC (rev 4528) @@ -24,7 +24,8 @@ fig = figure() m = Basemap(projection='geos',lon_0=lon_0,satellite_height=h,rsphere=(6378137.00,6356752.3142),resolution='l') m.drawcoastlines() -m.fillcontinents(color='coral') +m.drawmapboundary(fill_color='aqua') +m.fillcontinents(color='coral',lake_color='aqua') m.drawcountries() # draw parallels and meridians. m.drawparallels(arange(-90.,120.,30.)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |