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))

Regards,
Jesper
-------------------------------------------------------------------------
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

Reply via email to