From: <js...@us...> - 2007-11-16 20:02:23
|
Revision: 4342 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4342&view=rev Author: jswhit Date: 2007-11-16 12:02:16 -0800 (Fri, 16 Nov 2007) Log Message: ----------- specify map with width and height Modified Paths: -------------- trunk/toolkits/basemap-testing/examples/hires.py Modified: trunk/toolkits/basemap-testing/examples/hires.py =================================================================== --- trunk/toolkits/basemap-testing/examples/hires.py 2007-11-16 18:15:32 UTC (rev 4341) +++ trunk/toolkits/basemap-testing/examples/hires.py 2007-11-16 20:02:16 UTC (rev 4342) @@ -7,8 +7,10 @@ # create Basemap instance. Use 'high' resolution coastlines. t1 = time.clock() -m = Basemap(llcrnrlon=-10.5,llcrnrlat=49.5,urcrnrlon=3.5,urcrnrlat=59.5, - resolution='h',projection='tmerc',lon_0=-4,lat_0=0) +#m = Basemap(llcrnrlon=-10.5,llcrnrlat=49.5,urcrnrlon=3.5,urcrnrlat=59.5, +# resolution='h',projection='tmerc',lon_0=-4,lat_0=0) +m = Basemap(width=920000,height=1100000, + resolution='h',projection='tmerc',lon_0=-4.2,lat_0=54.6) # make sure countries and rivers are loaded m.drawcountries() m.drawrivers() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |