Jordan Dawe wrote:
>> pc = contour(random.rand(10,10))
>> pcf = contourf(random.rand(10,10), cmap=cm.gray)
>> # now the contours are on top
>>
>> for l in pc.collections:
>>     l.set_zorder(-100)
>>
>> draw()
>> # now the contours are on the bottom
> 
> Well, that's certainly kludgey, but it worked great.  Thanks.

Maybe contour, contourf, and any similar plotting commands that do not 
support zorder as a kwarg should do so?  I am not sure if this is needed 
often enough to warrant the extra code and documentation.

Eric

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to