Jeff Whitaker wrote:
Jeremy Conlin wrote:
Thanks for that information, that is what I needed. But now I come up
with a separate problem. I have the following in my code:
pylab.plot(n, S, 'b.', label='x')
pylab.legend()
ax2 = pylab.twinx()
What if I wanted one legend with both entries in it, rather than two
separate legends with a different entry in each? Is that possible? That's
more desirable than two separate legends.
Check
http://www.nabble.com/displaying-a-legend-from-a-different-subplot-td18447966.html#a18447966
The
First question:I know I can do pylab.loglog() to get a log-log plot. I
would like to create a log-linear plot. How can I do this?
Second question:
I would like to plot two sequences on the same figure with two different
y-scales, one scale shown on the left and one scale shown on the right.