Re: Gnuplot ignoring missing data (fwd)

Dave Horsfall <[email protected]>
Newsgroups gmane.comp.graphics.gnuplot.user
Message-ID <[email protected]>
Was my question too hard to answer, or merely mis-phrased?  I simply want 
to know whether I have misunderstood the meaning of "set datafile missing" 
or should I be reporting it as a Gnuplot bug?

I don't like reporting bugs if it turns out to be my fault...

-- Dave

---------- Forwarded message ----------
Date: Mon, 8 Jul 2019 07:33:24 +1000 (EST)
From: Dave Horsfall <[email protected]>
To: Gnuplot Mailing List <[email protected]>
Subject: Re: Gnuplot ignoring missing data

Odd; I just noticed that another of my graphs has a discontinuity at missing 
data, yet I don't have the "set datafile missing 'x'" line, so what on earth 
could be wrong?  What have I not understood about missing data?

Taking that directive out of spamlog.gp indeed shows a discontinuity (see 
www.horsfall.org/spamlog-1.pdf) so something is definitely fishy here...

-- Dave

---------- Forwarded message ----------
Date: Sat, 6 Jul 2019 10:41:36 +1000 (EST)
From: Dave Horsfall <[email protected]>
To: Gnuplot Mailing List <[email protected]>
Subject: Gnuplot ignoring missing data

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.