Jouni K. Seppänen wrote:
> Pablo Romero <romero...@hotmail.com> writes:
> 
>> How can I go about correcting this, so that the 'basemap.contour()'
>> function draws the contours BEFORE drawing the coastlines & filled
>> continents?
> 
> Use appropriate zorder arguments in your method calls:
> 
> http://matplotlib.sourceforge.net/examples/pylab_examples/zorder_demo.html
> 

Contour does not pass on the zorder argument, so you need to do 
something like this:

CS = contour(x,y,z, levs)
for c in CS.collections:
     c.set_zorder(0.5) # less than patch, which is 1.0

Eric


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