From: Ryan K. <rya...@co...> - 2005-09-28 22:36:30
|
I am on my computer at home and can't recreate my problem. I don't know what I did wrong last night. I could still use help though on the legend refresh stuff in my other message. Ryan Krauss wrote: > This morning on my office computer I don't seem to have the same > problem. (I will see if I can recreate my problem on my laptop at home > later.) > > I do have one new problem though. After adding the second plot, I need > to refresh the legend of the first plot because the plot on twinx wrote > over it. Any calls to legend seem to be working with the lines that are > drawn on twinx. I could avoid this problem and make a slightly nicer > looking plot if I could first draw on the twinx axis (with the y-axis > ticks on the right) and then draw on the "normal" axis (with the y-axis > ticks and label on the left). Is this possible? > > And can I make one legend that includes the plots from both axes? > > Thanks for your help John. I think I am getting close to a really nice > graph with a lot of useful information on it. > > Ryan > > > > John Hunter wrote: > >>>>>>> "Ryan" == Ryan Krauss <rya...@co...> writes: >> >> >> >> >> Ryan> It appears that this feature is available through the >> Ryan> twinx() function according to: >> >> Right -- see also examples/two_scales.py >> >> Ryan> It seems like once I called the twinx function, the x-axis >> Ryan> settings that where on the original axis are ignored and I >> Ryan> can't seem to change the axis settings. >> Ryan> pylab.axes([0.1,30,0,1]) returned an error: RuntimeError: >> Ryan> Transformation is not invertible >> >> Please post a free-standing, complete example which replicates the >> bug. >> >> Thanks, >> JDH >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: >> Power Architecture Resource Center: Free content, downloads, discussions, >> and more. http://solutions.newsforge.com/ibmarch.tmpl >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |