Re: [Matplotlib-users] spines are tricky!

2009-10-28 Thread Phillip M. Feldman
This is tremendous. thanks!! Phillip Jae-Joon Lee wrote: > On Wed, Oct 28, 2009 at 7:20 PM, Phillip M. Feldman > wrote: > >> If I get one y-axis with the 'host', and each invocation of twinx adds >> another y-axis, then it seems that I must invoke twinx three times to get >> four y-axes. Do

Re: [Matplotlib-users] spines are tricky!

2009-10-28 Thread Jae-Joon Lee
On Wed, Oct 28, 2009 at 7:20 PM, Phillip M. Feldman wrote: > If I get one y-axis with the 'host', and each invocation of twinx adds > another y-axis, then it seems that I must invoke twinx three times to get > four y-axes.  Does twinx add more than one y-axis per invocation?  (The > documentation

Re: [Matplotlib-users] spines are tricky!

2009-10-28 Thread Phillip M. Feldman
I introduced a bug when converting the code to make indices start at zero. This is fixed in the attachment. Phillip M. Feldman wrote: I very much appreciate the help, but I still haven't been able to figure out how to make this work. If I get one y-axis with the 'host', and each invocation o

Re: [Matplotlib-users] spines are tricky!

2009-10-28 Thread Phillip M. Feldman
I very much appreciate the help, but I still haven't been able to figure out how to make this work. If I get one y-axis with the 'host', and each invocation of twinx adds another y-axis, then it seems that I must invoke twinx three times to get four y-axes. Does twinx add more than one y-axis

Re: [Matplotlib-users] spines are tricky!

2009-10-28 Thread Jae-Joon Lee
On Tue, Oct 27, 2009 at 11:12 PM, Dr. Phillip M. Feldman wrote: > (1) Not only is the y-axis for dependent variable #1 blue (as it should be), > but the entire frame around the plot is blue. > at line 158, you're changing the color of all spines. Change the color of spine that you only want to ch

[Matplotlib-users] spines are tricky!

2009-10-27 Thread Dr. Phillip M. Feldman
Starting with code written by Jae-Joon Lee, I constructed a template program for creating plots with multiple y-axes. The program mostly works, but there are two odd glitches: (1) Not only is the y-axis for dependent variable #1 blue (as it should be), but the entire frame around the plot is blue