Revision: 5985
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5985&view=rev
Author: jswhit
Date: 2008-08-06 22:04:08 +0000 (Wed, 06 Aug 2008)
Log Message:
-----------
update warpimage, include plotsst
Modified Paths:
--------------
trunk/toolkits/basemap/examples/run_all.py
trunk/toolkits/basemap/examples/warpimage.py
Modified: trunk/toolkits/basemap/examples/run_all.py
===================================================================
--- trunk/toolkits/basemap/examples/run_all.py 2008-08-06 21:57:19 UTC (rev
5984)
+++ trunk/toolkits/basemap/examples/run_all.py 2008-08-06 22:04:08 UTC (rev
5985)
@@ -2,7 +2,6 @@
test_files = glob.glob('*.py')
test_files.remove('run_all.py')
test_files.remove('fcstmaps.py')
-test_files.remove('plotsst.py')
test_files.remove('testgdal.py')
test_files.remove('pnganim.py')
test_files.remove('geos_demo_2.py')
Modified: trunk/toolkits/basemap/examples/warpimage.py
===================================================================
--- trunk/toolkits/basemap/examples/warpimage.py 2008-08-06 21:57:19 UTC
(rev 5984)
+++ trunk/toolkits/basemap/examples/warpimage.py 2008-08-06 22:04:08 UTC
(rev 5985)
@@ -42,8 +42,8 @@
fig=plt.figure()
# define orthographic projection centered on Europe.
m = Basemap(projection='ortho',lat_0=40,lon_0=40,resolution='l')
-# plot warped rgba image.
-im = m.bluemarble()
+# plot a gray-scale image specified from a URL.
+im =
m.warpimage("http://earthobservatory.nasa.gov/Newsroom/BlueMarble/Images/gebco_bathy.5400x2700.jpg")
# draw coastlines.
m.drawcoastlines(linewidth=0.5,color='0.5')
# draw lat/lon grid lines every 30 degrees.
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins