|
From: <js...@us...> - 2008-08-01 18:01:03
|
Revision: 5949
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5949&view=rev
Author: jswhit
Date: 2008-08-01 18:00:58 +0000 (Fri, 01 Aug 2008)
Log Message:
-----------
update docstring
Modified Paths:
--------------
trunk/toolkits/basemap/examples/ortho_demo.py
Modified: trunk/toolkits/basemap/examples/ortho_demo.py
===================================================================
--- trunk/toolkits/basemap/examples/ortho_demo.py 2008-08-01 17:57:59 UTC (rev 5948)
+++ trunk/toolkits/basemap/examples/ortho_demo.py 2008-08-01 18:00:58 UTC (rev 5949)
@@ -9,9 +9,7 @@
# map with land/sea mask plotted
fig = plt.figure()
m = Basemap(projection='ortho',lon_0=lon_0,lat_0=lat_0,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('red','blue', lakes=True)
# draw parallels and meridians.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|