On Thu, Sep 8, 2011 at 7:11 AM, xyz <mit...@op.pl> wrote:

> Hello,
> I have found
>
> http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_examples/histogram_demo_extended_05.hires.png
>
> http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_examples/histogram_demo_extended.py
>
> How is it possible to the following draw stacked bar charts with number
> in the chart:
> http://www.jpowered.com/php-scripts/stacked-bar-chart.htm
> http://gnuplot.sourceforge.net/demo_4.2/showcase_plot.png
>
> Thank you in advance.
>
>
The histogram() function is merely a convenience function that performs both
the histogramming calculation and calls bar() under the hood.  Bar charts
are capable of being stacked using the "bottom" kwarg:

http://matplotlib.sourceforge.net/examples/pylab_examples/bar_stacked.html

As for numbers with the bars:

http://matplotlib.sourceforge.net/examples/pylab_examples/barchart_demo.html
http://matplotlib.sourceforge.net/examples/pylab_examples/barchart_demo2.html

I hope this helps!
Ben Root
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to