Revision: 4522
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4522&view=rev
Author: jswhit
Date: 2007-11-30 07:13:44 -0800 (Fri, 30 Nov 2007)
Log Message:
-----------
fill continents and oceans.
Modified Paths:
--------------
trunk/toolkits/basemap/examples/garp.py
Modified: trunk/toolkits/basemap/examples/garp.py
===================================================================
--- trunk/toolkits/basemap/examples/garp.py 2007-11-30 15:06:56 UTC (rev
4521)
+++ trunk/toolkits/basemap/examples/garp.py 2007-11-30 15:13:44 UTC (rev
4522)
@@ -24,9 +24,11 @@
m = Basemap(width=width,height=width,\
resolution='c',projection='aeqd',\
lat_0=lat_0,lon_0=lon_0)
+# fill background.
+m.drawmapboundary(fill_color='aqua')
# draw coasts and fill continents.
m.drawcoastlines(linewidth=0.5)
-m.fillcontinents()
+m.fillcontinents(color='coral',lake_color='aqua')
# 20 degree graticule.
m.drawparallels(arange(-80,81,20))
m.drawmeridians(arange(-180,180,20))
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins