James Boyle wrote: > Thanks Jeff, it works. > where is the reference to explain exactly what 'zorder' does and its > proper use? > > --Jim >
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 are set Artist Z-order Patch / PatchCollection 1 Line2D / LineCollection 2 Text 3 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. """ -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