On Mon, Apr 28, 2008 at 4:44 AM, Robin <[EMAIL PROTECTED]> wrote: > I'm still curious to know if theres any convenience functions to do > this type of bar plotting. Also I've come to rely on the 'stacked' > option of MATLAB's bar command - is it possible to get that effect in > matplotlib? > > Here is an example of what I'd like to be able to do: > http://www.mathworks.com/access/helpdesk/help/techdoc/ref/bar2.gif
Take a look at the stacked bar demo: http://matplotlib.sourceforge.net/examples/bar_stacked.py for stacked bar charts. We do not currently have any helper functions for the side-by-side comparisons, so you have to provide the offsets yourself, as in http://matplotlib.sourceforge.net/examples/barchart_demo.py though such functionality would certainly be useful. JDH ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users