Re: [Matplotlib-users] Basemap projection issue

2007-10-11 Thread Adam Mercer
On 11/10/2007, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > but I think you want > > values, lon = basemap.shiftgrid(180, values, lon, start=False) Thats it! Thanks a lot! Cheers Adam - This SF.net email is sponsored by: Spl

Re: [Matplotlib-users] Basemap projection issue

2007-10-11 Thread Jeff Whitaker
Adam Mercer wrote: > On 11/10/2007, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > > >> Adam: I assume your data is on a latitude-longitude grid? You've asked >> for a mollweide projection centered on the Greenwich meridian. Your >> data is not centered on Greenwich - but the error message is try

Re: [Matplotlib-users] Basemap projection issue

2007-10-11 Thread Adam Mercer
On 11/10/2007, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > Adam: I assume your data is on a latitude-longitude grid? You've asked > for a mollweide projection centered on the Greenwich meridian. Your > data is not centered on Greenwich - but the error message is trying to > say that you can shif

Re: [Matplotlib-users] Basemap projection issue

2007-10-11 Thread Adam Mercer
On 11/10/2007, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > Adam: I assume your data is on a latitude-longitude grid? You've asked > for a mollweide projection centered on the Greenwich meridian. Your > data is not centered on Greenwich - but the error message is trying to > say that you can shif

Re: [Matplotlib-users] Basemap projection issue

2007-10-11 Thread Jeff Whitaker
Adam Mercer wrote: > Hi > > I'm running into a problem using the mollweide projection, with the > following simplified code, my actual code doesn't use random data for > values but this is a clearer example to the problem I'm experiencing: > > lon = numpy.arange(0, 361, 1) > lat = numpy.arange(-90,

[Matplotlib-users] Basemap projection issue

2007-10-11 Thread Adam Mercer
Hi I'm running into a problem using the mollweide projection, with the following simplified code, my actual code doesn't use random data for values but this is a clearer example to the problem I'm experiencing: lon = numpy.arange(0, 361, 1) lat = numpy.arange(-90, 91, 1) x, y = numpy.meshgrid(lon