James Boyle wrote:
> Jeff,
>
> This is something I have noticed recently. If I set lon_0 = 180. using 
> the robin projection , the parallels from 0 to 180 are drawn thicker 
> than those from 180 to 360.
> Perhaps the 0 to 180 are drawn twice - with some small offset - due 
> some wraparound problem.
> Enclosed is some code illustrating the problem and the pngs.
> It is not a glaring difference, but I think real. It also shows up if 
> you look carefully at the output from simpletest.py in your examples.
>
> basemap .99.1  matplotlib 0.98.3 OS X 10.4
> --Jim
>
> m = basemap.Basemap(resolution='c',projection='robin',lon_0=180.)
> parallels = numpy.arange(-90.,90.,30.)
> m.drawparallels(parallels,labels=[1,0,0,0],color='r')
> pylab.title('lon_0=180')
> pylab.savefig('lon_0-180')
> pylab.clf()
>
> m = basemap.Basemap(resolution='c',projection='robin',lon_0=0.)
> parallels = numpy.arange(-90.,90.,30.)
> m.drawparallels(parallels,labels=[1,0,0,0],color='r')
> pylab.title('lon_0=0')
> pylab.savefig('lon_0-0')
> pylab.clf()
>
Jim: I can't reproduce this, so I suspect it's been fixed since basemap 
0.99.1.  Can you upgrade and let me know whether that fixes it for you?

-Jeff

(P.S. CC'ing matplotlib-users)

> ------------------------------------------------------------------------
>
>
>
> ------------------------------------------------------------------------
>


-- 
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/PSD  R/PSD1        Email  : jeffrey.s.whita...@noaa.gov
325 Broadway                Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web    : http://tinyurl.com/5telg


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to