| 
     
      
      
      From: Sterling S. <sm...@fu...> - 2013-09-19 19:02:32
      
     
   | 
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  |