Feed on
Posts
Comments

To adjust the relative ordering of plot items in matplotlib, use the “zorder” variable:

pl.plot(x,y,zorder=1) # plots on bottom

pl.plot(x,y,zorder=10) # plots on top


Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

Did I get this wrong? Let me know!

Trackback URI | Comments RSS

More blogs about http://desk.stinkpot.org:8080/tricks.