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.
(2) The y-axis for dependent variable #2 has two sets of tick labels. The
set in black contains the correct values in the correct positions, but has
the wrong color. The other set of tick labels has the correct color (dark
red), but the values and locations are wrong. (In fact, these are same
values and positions as for dependent variable #1).
Any suggestions as to how I can fix these two problems will be greatly
P.S. I'm creating this program for use by students in the Engineering
Academy at Dos Pueblos High School, partly because they need something like
this for the projects that they are working on, and partly because I would
like to have them get some exposure to Python and Matplotlib.
P.P.S. This program has to be able to correctly generate a plot with 2, 3,
or 4 y-axes, although it would be good if it can also handle the
conventional case of a single y-axis. Students should be able to create
plots by simply inserting their data into the code and changeing the
variable label text strings.
View this message in context: http://www.nabble.com/spines-are-tricky!-tp26088693p26088693.html
Sent from the matplotlib - users mailing list archive at Nabble.com.