Hi Michael,
I use fill_between() and log axis without problems in the following way (it's
by memory, I hope the sintax is correct)
fig = plt.figure()
spl = fig.add_subplot(111)
spl.fill_between(x,y1,y2)
spl.set_yscale(log)
plt.show()
Cheers,
Fra
Il giorno 06/mag/2011, alle ore 01.34,
Hi Michael,
I use fill_between() and log axis without problems in the following way (it's
by memory, I hope the sintax is correct)
fig = plt.figure()
spl = fig.add_subplot(111)
spl.fill_between(x,y1,y2)
spl.set_yscale(log)
plt.show()
Cheers,
Fra
Il giorno 06/mag/2011, alle ore
On Tue, May 3, 2011 at 3:40 AM, K.-Michael Aye kmichael@gmail.comwrote:
A colleague posed an interesting challenge:
How to do a filled plot having the y-axis in logarithm?
I think I can do it with creating patches myself an adding it to the
axis, but isn't there anything built-in?
Best
A colleague posed an interesting challenge:
How to do a filled plot having the y-axis in logarithm?
I think I can do it with creating patches myself an adding it to the
axis, but isn't there anything built-in?
Best regards,
Michael