From: Eric F. <ef...@ha...> - 2008-01-24 18:13:03
|
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 |