Re: [Matplotlib-users] I really can't get into hist() barstacked

2009-07-22 Thread ms
Sandro Tosi ha scritto: > I got only data values, nothing already "computed" (for whatever you > mean by that), and I want to plot stacked bars with those values > (either by row or by column). Ok, I see. It seems from your example that you already have the histogram computed >>> no, I just

Re: [Matplotlib-users] I really can't get into hist() barstacked

2009-07-22 Thread ms
Sandro Tosi ha scritto: > On Wed, Jul 22, 2009 at 10:25, ms wrote: >> Sandro Tosi ha scritto: >>> Hi all, >>> I'd like to do a histogram with barstacked style. Well, I'm not able >>> to make it in any way :( >>> >>> - what is the format of the the data to pass? >>> - what's the value of bins? (rela

Re: [Matplotlib-users] I really can't get into hist() barstacked

2009-07-22 Thread Sandro Tosi
On Tue, Jul 21, 2009 at 18:00, Sandro Tosi wrote: > for example, let's say I want to plot this series > > s1 = 2,3,6,3,1 > s2 = 1,2,2,4,1 > s3 = 4,1,0,3,7 > > what's the format of data to pass to hist() ? by row? by column? Just to clarify: from the above lists of values, I'm expecting to draw som

[Matplotlib-users] I really can't get into hist() barstacked

2009-07-21 Thread Sandro Tosi
Hi all, I'd like to do a histogram with barstacked style. Well, I'm not able to make it in any way :( - what is the format of the the data to pass? - what's the value of bins? (related to the above question, I suppose) for example, let's say I want to plot this series s1 = 2,3,6,3,1 s2 = 1,2,2,4