From: <js...@us...> - 2007-11-21 21:33:43
|
Revision: 4414 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4414&view=rev Author: jswhit Date: 2007-11-21 13:33:25 -0800 (Wed, 21 Nov 2007) Log Message: ----------- bug fixes Modified Paths: -------------- trunk/py4science/examples/basemap1.py trunk/py4science/examples/basemap2.py Modified: trunk/py4science/examples/basemap1.py =================================================================== --- trunk/py4science/examples/basemap1.py 2007-11-21 21:25:27 UTC (rev 4413) +++ trunk/py4science/examples/basemap1.py 2007-11-21 21:33:25 UTC (rev 4414) @@ -7,12 +7,12 @@ fig.add_axes([0.1,0.1,0.8,0.8],axisbg='aqua') # create map by specifying lat/lon values at corners. resolution = 'l' +projection = 'lcc' +lat_0 = 60 lon_0 = -50 -lat_0 = 60 -projection = 'lcc' llcrnrlat, llcrnrlon = 8, -92 urcrnrlat, urcrnrlon = 39, 63 -m = Basemap(lon_0=lon_0,lat_0=lat_0,\ +m = Basemap(lat_0=lat_0,lon_0=lon_0,\ llcrnrlat=llcrnrlat,llcrnrlon=llcrnrlon,\ urcrnrlat=urcrnrlat,urcrnrlon=urcrnrlon,\ resolution=resolution,projection=projection) Modified: trunk/py4science/examples/basemap2.py =================================================================== --- trunk/py4science/examples/basemap2.py 2007-11-21 21:25:27 UTC (rev 4413) +++ trunk/py4science/examples/basemap2.py 2007-11-21 21:33:25 UTC (rev 4414) @@ -7,9 +7,9 @@ fig.add_axes([0.1,0.1,0.8,0.8],axisbg='aqua') # create map by specifying width and height in km. resolution = 'l' +projection = 'lcc' lon_0 = -50 lat_0 = 60 -projection = 'lcc' width = 12000000 height = 0.75*width m = Basemap(lon_0=lon_0,lat_0=lat_0,\ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |