Eric Firing wrote:
>
> 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.
I can't speak for other people, but I use this kind of functionality
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 worke
>
> 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.
Jordan
---
I have a plot that is divided into four subplots.
pylab.figure()
pylab.subplot(221)
pylab.plot(a,b,"k-")
pylab.subplot(222)
pylab.plot(a,b,"k-")
pylab.subplot(223)
pylab.plot(a,b,"k-")
pylab.subplot(224)
pylab.plot(a,b,"k-")
I would like to add a title to the entire plot, but pylab.title() only
a