On Tue, 12 Jun 2007 13:34:35 -0500, "Johnny Lin" <[EMAIL PROTECTED]> said: > Hi all, > > I'm creating a cylindrical map, global in longitude and centered around > 180 and the equator, using the following code: > > map = Basemap( projection='cyl', resolution='l' > , llcrnrlon=0, urcrnrlon=360 > , llcrnrlat=-76.875, urcrnrlat=76.875 > , lon_0=180, lat_0=0 ) > map.drawmeridians(pylab.arange(0,361,45), labels=[0,0,0,1]) > > The result is a map with labels of 0, 45E, 90E, ... 45W, but without > a label at 0 (i.e. 360). Does anyone know how to make that label > come up? I'm running Python 2.4 in Mac OSX 10.4, with matplotlib > 0.90.1 and basemap 0.9.5. > > Thanks much! > > Best, > -Johnny > --
Johnny: The labels are drawn from 180E to 180W, and each longitude is only labelled once. That means you don't get a the wraparound longitude labelled at both the left and right side of the plot Sorry! -Jeff ------ Jeffrey S. Whitaker Phone: (303)497-6313 FAX: (303)497-6449 NOAA/OAR/CDC R/CDC1 325 Broadway, Boulder, CO, USA 80305-3328 http://www.cdc.noaa.gov/people/jeffrey.s.whitaker ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users