Larsen, Jesper wrote: > > Hi matplotlib-users, > > I have an application in which regions that are not known beforehand > are defined and plotted. When the application plots a region a Basemap > instance is created. My datasets define longitudes from 0 to 360. When > regions cross the Greenwich meridian I try to make a Basemap like this: > > m = Basemap(350, -10, 10, 10) > print m.aspect > > But this results in negative aspect ratios. How would you handle that? > Will I have to make extra checks for whether the region crosses the 0 > meridian and add 360 to all longitudes > 0 or do you have a better > solution? > > (i.e. create m = Basemap(350, -10, 370, 10)) >
Jesper: Yes, that should work fine. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : [EMAIL PROTECTED] 325 Broadway Office : Skaggs Research Cntr 1D-113 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg ------------------------------------------------------------------------- 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-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users