Re: [Matplotlib-users] Two questions regarding axis scaling

2008-11-23 Thread Jae-Joon Lee
> > 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 Th

Re: [Matplotlib-users] Two questions regarding axis scaling

2008-11-23 Thread John Owens
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() >>

Re: [Matplotlib-users] Two questions regarding axis scaling

2008-09-13 Thread Jeff Whitaker
Jeremy Conlin wrote: > > > On Fri, Sep 12, 2008 at 4:31 PM, Jeff Whitaker <[EMAIL PROTECTED] > > wrote: > > Jeremy Conlin wrote: > > First question: > I know I can do pylab.loglog() to get a log-log plot. I would > like to create a log-linear

Re: [Matplotlib-users] Two questions regarding axis scaling

2008-09-12 Thread Jeremy Conlin
On Fri, Sep 12, 2008 at 4:31 PM, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > Jeremy Conlin wrote: > >> 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? >> > > semilogx or semilogy: > > > > semilogy < > http:/

Re: [Matplotlib-users] Two questions regarding axis scaling

2008-09-12 Thread Jeff Whitaker
Jeremy Conlin wrote: > 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? semilogx or semilogy: semilogy (*args, **kwargs) Make a plo

[Matplotlib-users] Two questions regarding axis scaling

2008-09-12 Thread Jeremy Conlin
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. How