Re: [Matplotlib-users] two y axes via twinx and legends

2006-12-09 Thread belinda thom
Looks like I've been able to help myself on this one. I'll post this here b/c others had asked about this in prior emails and I never saw an answer given. You can make your own custom legend by keeping the return values from each plot command: e.g. l1 = plot() twinx() l2 = plot() legend([

Re: [Matplotlib-users] more outdated/unhelpful documentation and installation issues on Mac OS X 10.4

2006-12-09 Thread belinda thom
Note: there is a type-o in the above email. "W/MacPorts, I've been able to get the TkAgg backend to work" should be "W/MacPython, I've been able to get the TkAgg backend to work" - Take Surveys. Earn Cash. Influence

Re: [Matplotlib-users] passing 1D or 2D arrays to contour, pcolor, image, plot

2006-12-09 Thread Eric Firing
Below is the last (or nearly so) message of a thread from last summer. I have now implemented option 3 in svn, so: If y is 2-D, plot(y) plots the columns of y against the row-index. If x is 1-D and y is 2-D, plot(x,y) plots the columns of y against x. (In this case, x can also be 2-D if it is a

[Matplotlib-users] two y axes via twinx and legends

2006-12-09 Thread belinda thom
Hi, This mailing list is great---I've gotten a couple very useful replies from others in a very short time period. Thanks! And now, onto my next question. I need to construct a two-y-axis plot. I've found some hints on how to do this on the mailing archive (Subject: secondary y-axis, Date: