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 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: 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 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