Skip,

I assume that you are using a twinx call to get the second y axis.  I think 
that this question has come up before, and I think the solution was to switch 
which data are put on the second set of axes.  (Of course to keep the same 
visual layout you would have to play with the y axis spine locations.)  

Separately, if your blue data are so quantized, you might use the blue data to 
choose a color for an axvspan (or axhspan, I  forget which is which) to 
indicate how certain regions of time have different values of blue data.  Then 
you would only need one set of axes, and your x,y labels would indicate what 
you want.

-Sterling

On Sep 19, 2013, at 7:46AM, Skip Montanaro wrote:

> I have a plot which uses both the left and right y axes.  See
> attached. Note that the feedback in the lower right-hand corner
> displays the value on the right y axis (the blue plot). That's not a
> very interesting value though. How can I control which value is
> displayed as I move the cursor around the graph? Is it something
> control interactively with a modifier key?  I tried a few, but saw no
> change. I'm currently using matplotlib v 1.1.0 (alas, something which
> is also out of my control).
> 
> Thanks,
> 
> Skip
> <axes.png>------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk_______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to