Im having an issue with the plotting of contours using basemap.
 
My contours are incorrectly being plotted on top of my basemap 
coastlines&continents.
 
Ive attached an image as an example:
Note that the red contour lines near land areas are OVERLAPPING the coastlines 
& continents, instead of being plotted BELOW them.
 
Here are the commands that I used to create this image (in the same order that 
I called them...)
 
m=basemap(...)
Z=create_my_data_array(...)
 
...
 
cs=m.contour(X,Y,Z,linewidths=1.25)
m.drawcoastlines()
m.fillcontinents(color='grey')
 
Since I am calling the 'm.drawcoastlines()' and 'm.fillcontinents()' functions 
AFTER having plotted my contours, I would expect that the coastlines & 
continents would be plotted ON TOP of the previously drawn contours. 
Is this correct?
 
This appears to work fine for the 'basemap.contourf()' but not for the 
'basemap.contour()' function.
 
Is this a bug, or by design?
 
How can I go about correcting this, so that the 'basemap.contour()' function 
draws the contours BEFORE drawing the coastlines & filled continents?
 
Please help,
Thanks,
 
P.Romero
_________________________________________________________________
Windows Live™: Life without walls.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009

<<attachment: basemap_contour_overlap.png>>

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