I really can't get into hist() barstacked

Hi all,
I'd like to do a histogram with barstacked style. Well, I'm not able
to make it in any way :frowning:

- 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,1
s3 = 4,1,0,3,7

what's the format of data to pass to hist() ? by row? by column?

Thanks a lot in advance,

路路路

--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

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
something like:

聽聽聽聽聽聽聽聽聽聽>
聽聽s3 | s3[1] s3[2] s3[3] ...
聽聽s2 -> | s2[1] s2[2] s2[3] ...
聽聽s1 | s1[1] s1[2] s1[3] ...

路路路

On Tue, Jul 21, 2009 at 18:00, Sandro Tosi<matrixhasu@...287...> wrote:
聽聽聽聽聽聽聽聽--+---------------------------
聽聽聽聽聽聽聽聽聽聽>

or

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽> ... ... ...
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽> s1[3] s2[3] s3[3]
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽> s1[2] s2[2] s3[2]
s1 s2 s3 -> | s1[1] s2[1] s3[1]
聽聽聽聽聽聽聽聽聽聽聽聽聽聽--+----------------------
聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽>

Either are fine (once I get how to do, I'll adapt data to that),
simply I don't know how to do that :slight_smile:

Cheers,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi