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


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

missing date in input file

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From Frank Ursel <sexyspamcatcher@trash-mail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject missing date in input file
Date Wed, 21 Mar 2012 08:53:51 +0000 (UTC)
Organization A noiseless patient Spider
Lines 29
Message-ID <jkc4uv$mm2$1@dont-email.me> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Wed, 21 Mar 2012 08:53:51 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="hc3id8oKyXm9aEy+ALevvg"; logging-data="23234"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/DNzlGCz+rdUFf7WdRfpg"
Cancel-Lock sha1:mhdo/aBNbawQZK3IizwqUFloIzw=
Xref csiph.com comp.graphics.apps.gnuplot:990

Show key headers only | 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