Combine two histogramm in one histograms

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Combine two histogramm in one histograms

bellafkih
This post was updated on .
Hello,

I present a data of each month in histogram, so for each month, there two percentages: first the percentage of messages updates (example: 80 %) and the second, the percentage of non update messages (eg. 20%), i
must divide the update messages into two parts: the first : important messages (eg. 70 %) and non important messages (eg 30%).
My current solution is to create two histograms, but i ask if there is a possibility to create only graphic, so present the 70 % and 30 % in the part of 80% ?

Thanks
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Combine two histogramm in one histogramm

tcaswell
I think you are looking for stacked histograms: http://matplotlib.org/examples/pylab_examples/bar_stacked.html

Tom

On Sat, Aug 5, 2017 at 12:36 PM bellafkih <[hidden email]> wrote:
Hello,

I present a data of each month in histogram, so for each month, there two
percentages: first the percentage of messages updates (example: 80 %) and
the second, the percentage of non update messages (eg. 20%), i
must divide the update messages into two parts: the first : important
messages (eg. 70 %) and non important messages (eg 30%).
My current solution is to create two histograms, but i ask if there is a
possibility to create only graphic, so present the 70 % and 30 % in the part
of 80% ?

Thanks



--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Combine-two-histogramm-in-one-histogramm-tp48057.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
_______________________________________________
Matplotlib-users mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/matplotlib-users

_______________________________________________
Matplotlib-users mailing list
[hidden email]
https://mail.python.org/mailman/listinfo/matplotlib-users
Loading...