Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2570
| Newsgroups | comp.graphics.apps.gnuplot |
|---|---|
| Date | 2014-09-01 07:39 -0700 |
| Message-ID | <adc09c90-df99-4e2d-bc6e-88d3d715a507@googlegroups.com> (permalink) |
| Subject | Stacked areas |
| From | Nicolas Michel <be.nicolas.michel@gmail.com> |
Hi, I want to create a stacked area graph. The examples I found on the net are all based on multiple Y values for one strictly identical X value like this: 2013-09-01,3,5,12,14,3 2013-09-02,5,6,12,15,6 2013-09-03,2,4,16,12,4 2013-09-04,1,3,18,11,3 2013-09-05,3,4,15,13,6 2013-09-06,7,3,12,21,9 2013-09-07,5,4,11,18,8 But my series are formatted that way (the date value COULD be different for the different series, of some seconds of even 1/4h): 0x10000000c9c06972 28/08/2014 00:00:01,6.79 28/08/2014 00:15:01,8.21 0x10000000c9c06973 28/08/2014 00:00:01,6.96 28/08/2014 00:15:01,8.25 Here my Gnuplot script that currently draw lines: #! /usr/bin/gnuplot set xdata time set style data lines set timefmt "%d/%m/%Y %H:%M:%S" set format x "%d/%m\n%H:%M" set xlabel "Time" set ylabel "Traffic %" set yrange [0:100] set datafile separator "," set term png size 1920,1024 set output 'fc_stats.png' plot for [IDX=0:3] 'fc_plot.tmp' i IDX u 1:2 w lines title columnheader(1) -> Is it possible with that kind of value to get a stacked area?
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar | Unroll thread
Stacked areas Nicolas Michel <be.nicolas.michel@gmail.com> - 2014-09-01 07:39 -0700
Re: Stacked areas Karl <mail.kfr@gmx.net> - 2014-09-01 18:45 +0200
Re: Stacked areas Nicolas Michel <be.nicolas.michel@gmail.com> - 2014-09-02 02:56 -0700
csiph-web