|
From: Thomas S. <t.s...@fz...> - 2009-08-22 14:55:28
|
have a look at: http://gnuplot.sourceforge.net/demo/histograms.html bistritapcv wrote: > > In another message I mentioned I made stacked charts. Here is my question > about them. > It does not seem there is a way to stack charts. If you plot 2 bars, they > will both start at 0 > and one will overwrite part (or all of) the other one. > > I had 5 fields to plot (say 2, 3, 4, 5, 6) with the x value as field 1 (1, > 2, 3, ... 24). What I end up doing is > > plot "file" using 1:($2+$3+$4+$5+$6) with boxes title "field5", > "file" using 1:($2+$3+$4+$5) with boxes title "field4", > "file" using 1:($2+$3+$4) with boxes title "field3", > "file" using 1:($2+$3) with boxes title "field2", > "file" using i:2 with boxes title "field1" > > but it seems like there should be a simpler way to stack them than that. > Is there? > > -- View this message in context: http://www.nabble.com/stacked-charts-tp25085687p25094517.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |