From: <js...@us...> - 2007-11-07 18:23:27
|
Revision: 4149 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4149&view=rev Author: jswhit Date: 2007-11-07 10:23:26 -0800 (Wed, 07 Nov 2007) Log Message: ----------- use nice colors for ocean and land Modified Paths: -------------- trunk/toolkits/basemap-testing/examples/hires.py Modified: trunk/toolkits/basemap-testing/examples/hires.py =================================================================== --- trunk/toolkits/basemap-testing/examples/hires.py 2007-11-07 18:21:35 UTC (rev 4148) +++ trunk/toolkits/basemap-testing/examples/hires.py 2007-11-07 18:23:26 UTC (rev 4149) @@ -4,6 +4,8 @@ # create new figure fig=figure() +# background color will be used for 'wet' areas. +fig.add_axes([0.1,0.1,0.8,0.8],axisbg='aqua') # create Basemap instance. Use 'high' resolution coastlines. t1 = time.clock() m = Basemap(llcrnrlon=-11.,llcrnrlat=49.,urcrnrlon=5.,urcrnrlat=59., @@ -11,7 +13,7 @@ print 'time to create instance with high-res boundaries = ',time.clock()-t1 # draw coastlines and fill continents. m.drawcoastlines() -m.fillcontinents() +m.fillcontinents(color='coral') # draw political boundaries. m.drawcountries(linewidth=1) # draw major rivers. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |