Revision: 8869
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8869&view=rev
Author: jswhit
Date: 2011-01-02 15:09:27 +0000 (Sun, 02 Jan 2011)
Log Message:
-----------
move center of map show contintents filled correctly
Modified Paths:
--------------
trunk/toolkits/basemap/examples/wiki_example.py
Modified: trunk/toolkits/basemap/examples/wiki_example.py
===================================================================
--- trunk/toolkits/basemap/examples/wiki_example.py 2010-12-30 16:14:19 UTC (rev 8868)
+++ trunk/toolkits/basemap/examples/wiki_example.py 2011-01-02 15:09:27 UTC (rev 8869)
@@ -4,13 +4,13 @@
# set up orthographic map projection with
# perspective of satellite looking down at 50N, 100W.
# use low resolution coastlines.
-map = Basemap(projection='ortho',lat_0=50,lon_0=-100,resolution='l')
+map = Basemap(projection='ortho',lat_0=45,lon_0=-100,resolution='l')
# draw coastlines, country boundaries, fill continents.
map.drawcoastlines(linewidth=0.25)
map.drawcountries(linewidth=0.25)
-map.fillcontinents(color='coral')
+map.fillcontinents(color='coral',lake_color='aqua')
# draw the edge of the map projection region (the projection limb)
-map.drawmapboundary()
+map.drawmapboundary(fill_color='aqua')
# draw lat/lon grid lines every 30 degrees.
map.drawmeridians(np.arange(0,360,30))
map.drawparallels(np.arange(-90,90,30))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|