James Boyle wrote:
Thanks Jeff, it works.
where is the reference to explain exactly what 'zorder' does and its proper use?
Jim: See zorder_demo.py in the examples - the comments explain it pretty well. I've cut and pasted below:
The default drawing order for axes is patches, lines, text. This
order is determined by the zorder attribute. The following defaults
Patch / PatchCollection 1
Line2D / LineCollection 2
You can change the order for individual artists by setting the zorder. Any
individual plot() call can set a value for the zorder of that particular item.
In the fist subplot below, the lines are drawn above the patch
collection from the scatter, which is the default.
In the subplot below, the order is reversed.
The second figure shows how to control the zorder of individual lines.
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jeffrey.S.Whitaker@...259...
325 Broadway Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg