On Sep 19, 2013, at 10:14AM, Skip Montanaro wrote:
> 
>> 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.
> 
> This also works, though I (and anyone looking at the graph) would have
> to remember the mapping between color and numeric value. If I was a
> synethete this might work, but I doubt most people would automatically
> recall the mapping. :-)

No assumption of super-human recollection or inference abilities . I would add 
a figure or axes legend with proxy artists for the appropriate color mappings, 
or even just a bunch of text boxes with the text label colored appropriately.  
You may be interested in my answer to a stackoverflow question [1].

-Sterling

[1] 
http://stackoverflow.com/questions/17086847/box-around-text-in-matplotlib/17092777#17092777
------------------------------------------------------------------------------
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