Re: Gnuplot ignoring missing data
Alan Corey <[email protected]>
| Newsgroups | gmane.comp.graphics.gnuplot.user |
|---|---|
| Message-ID | <CAOh3dDaoNPw92Dba2ci8SkqZFf6v3Pzhz+3s9ZTsh-NmPhV25A@mail.gmail.com> |
I've found that a nan (not a number) just leaves a hole and nothing plots for that point. Sent from my Motorola XT1527 On Fri, Jul 5, 2019, 8:42 PM Dave Horsfall <[email protected]> wrote: > Mac Sierra + latest patches (it won't go any further), Gnuplot 5.2 p6. > > Have a look at www.horsfall.org/spamlog.pdf and note the weirdness at the > end; > there is missing data there thanks to my ISP cutting my fibre and taking > ages > to fix it (great anti-spam measure, I suppose). > > In my spamlog.gp, I have: > > set datafile missing "x" > ... > plot datafile using 1:($2) lt rgb "red" title 'Reject', \ > ... > > Sample line from spamlog.dat: > > 2019/04/26 x x x x x x x x x > (Actually tabs, not spaces) > > Have I misunderstood what "missing" means? It's been a while since I > studied > stats... My understanding is just that: missing data, hence leave a hole > in > your graph (indistinguishable from zero in my case, but I can handle that). > > A message on StackOverflow also says that the above should work and not > draw a > line across it (not that I trust StackOverflow anyway), but that's exactly > what > Gnuplot is doing. > > Thanks. > > -- Dave > > > _______________________________________________ > gnuplot-info mailing list > [email protected] > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > _______________________________________________ gnuplot-info mailing list [email protected] Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info