|
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. |
|
From: <ton...@le...> - 2009-08-22 19:47:44
|
When I try
set style data histogram
I get an error that it expected a bunch of stuff (points, lines, histeps,
etc) but would not take histograms.
Is this some version thing? I have version 4.0
Do I need to update?
What is the easiest way to update?
-----Original Message-----
From: Thomas Sefzick [mailto:t.s...@fz...]
Sent: Saturday, August 22, 2009 09:55 AM
To: gnu...@li...
Subject: Re: [Gnuplot-info] stacked charts
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.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Gnuplot-info mailing list
Gnu...@li...
https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|
|
From: Thomas S. <t.s...@fz...> - 2009-08-23 13:06:03
|
yes, it is a version thing - you need at least version 4.2 have a look at the FAQ: http://www.gnuplot.info/faq/faq.html#SECTION00040000000000000000 bistritapcv wrote: > > When I try > > set style data histogram > > I get an error that it expected a bunch of stuff (points, lines, histeps, > etc) but would not take histograms. > > Is this some version thing? I have version 4.0 > > Do I need to update? > > What is the easiest way to update? > > > -----Original Message----- > From: Thomas Sefzick [mailto:t.s...@fz...] > Sent: Saturday, August 22, 2009 09:55 AM > To: gnu...@li... > Subject: Re: [Gnuplot-info] stacked charts > > > 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. > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://www.nabble.com/stacked-charts-tp25085687p25103128.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |