Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #990

missing date in input file

From Frank Ursel <sexyspamcatcher@trash-mail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject missing date in input file
Date 2012-03-21 08:53 +0000
Organization A noiseless patient Spider
Message-ID <jkc4uv$mm2$1@dont-email.me> (permalink)

Show all headers | View raw


Hi,

I have a generated file with dates and values:

2012-01-01 10
2012-01-02 5
2012-01-05 15

As you can see, the dates are not continuous but should be printed 
continuous - and gnuplot does the right thing here.

Is there a way to tell gnuplot to interpolate/interprete the missing 
values for by gnuplot inserted dates as e.g. zero? Because I want to 
print the data like

plot "data" using 1:2 with lines

and this connectects 5 and 15 in my example but I would like to see a gap 
(as it is "with impulses") because the two missing days in x-axis are zero 
- and because of this are missing.

I know about missing data I could put a ? in the dataset but it's hard 
for me to figure out the missing dates and include the right ones, so I 
would like to tell gnuplot to have data values of non existing values 
interpret as zero or not to connect datapoints if there are by gnuplot 
inserted values between them.

Thanks,
Frank

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

missing date in input file Frank Ursel <sexyspamcatcher@trash-mail.com> - 2012-03-21 08:53 +0000
  Re: missing date in input file Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2012-03-21 12:13 +0100
    Re: missing date in input file Frank Ursel <sexyspamcatcher@trash-mail.com> - 2012-03-21 14:04 +0000
      Re: missing date in input file Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2012-03-21 16:18 +0100
  Re: missing date in input file bryan <bryanlepore@gmail.com> - 2012-03-21 07:01 -0700

csiph-web