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). http://www.nabble.com/file/p26088693/multiple_yaxes_with_spines.png http://www.nabble.com/file/p26088693/multiple_yaxes_with_spines.py multiple_yaxes_with_spines.py Any suggestions as to how I can fix these two problems will be greatly appreciated. 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%21-tp26088693p26088693.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users