stacked bar chart

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.

Dear List,

how is it possible to change the color of the ticks of a colorbar,
created using :

cb = mpl.colorbar.ColorbarBase(ax, cmap=cmap,norm=norm,orientation='horizontal',format=formatter)

Thanks in advance !

yves

···

--
                                                 (o o)
--------------------------------------------oOO--(_)--OOo-------
   Dr. Yves Revaz
   Laboratory of Astrophysics
   Ecole Polytechnique F�d�rale de Lausanne (EPFL)
   Observatoire de Sauverny Tel : ++ 41 22 379 24 28
   51. Ch. des Maillettes Fax : ++ 41 22 379 22 05
   1290 Sauverny e-mail : Yves.Revaz@...2003...
   SWITZERLAND Web : http://www.lunix.ch/revaz/
----------------------------------------------------------------

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

···

On Thu, Sep 8, 2011 at 7:11 AM, xyz <mitlox@…269…> 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.