James Boyle wrote: > The code at the end of this message is a toy example which shows the > problem I am encountering. > OS X 10.4.9 basemap 0.9.5 (Numeric 24.2 and Numpy 1.0) python 2.5 > > I define a map projection using Basemap, and then plot a number of > markers at various geographical locations. > I would like the map coastlines to overlay the marker symbols, that > is write over them as they pass through them. > I cannot get the coastlines to overlay the markers, no matter what > the calling sequence. The markers always obscure the coastlines. > > In the basemap/example contour_demo.py, the coastlines are called > after contourf and the coastlines appear over the filled contours. > So there seems that there is something different in the plot marker > characteristics. > > I am probably missing something obvious - but what? > > > --Jim > >
Jim: Using 'zorder=0' when calling the Basemap plot method seems to do the trick. Perhaps I should add a 'zorder' keyword to drawcoastlines as well (there already is one for fillcontinents). -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-124 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg ------------------------------------------------------------------------- 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