On Oct 4, 2010, at 4:30 PM, John Hunter wrote:

> On Thu, Sep 30, 2010 at 8:44 PM, Tony S Yu <tsy...@gmail.com> wrote:
>> I'd like to make something in between a box plot [1] and a histogram. Each 
>> histogram would be represented by a single, tall, rectangular patch (like 
>> the box in a box plot), and the patch would be subdivided by the bin edges 
>> of the histogram. The face color of each sub-patch would replace the bar 
>> height in the histogram.
>> 
>> If any of that actually made sense:
>> 
>> * Does this type of plot have a name?
>> 
>> * Is there an easy way to do this in Matplotlib?
>> 
>> * If there isn't an easy way, what would be a good starting point? Initial 
>> ideas: 1) Use pcolor or imshow and embed this axes in a larger axes, 2) 
>> represent the sub-patches as a PolyCollection.
> 
> If you don't need faceting (dark edges around the bins), imshow with
> the extent set would be the easiest way.  If you want faceting, pcolor
> should work as well.

Thanks! I'll give both imshow and pcolor a try. Most likely I'll use pcolor, 
since lighter bins would completely disappear without faceting (... or maybe 
that's a good thing).

-Tony
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to