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


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

Re: Ignore missing data in the desired way

From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Ignore missing data in the desired way
Date 2017-01-20 12:05 +0100
Organization solani.org
Message-ID <o5sqtt$ese$1@solani.org> (permalink)
References <4eb939ed-8e0f-45aa-a163-d1714b70536a@googlegroups.com>

Show all headers | View raw


Am 20.01.2017 um 10:35 schrieb u.gotzes@gmail.com:
> 
> I can't get the script below to do what I want, namely make gnuplot draw continuous lines between the respective datasets "Yes", "No" and "Maybe". Can anybody help?
> 

(simplified example)
set dataf missing '?'
$dat << EOD
No Maybe
0 2
1 ?
2 1
3 2
4 ?
5 9
6 ?
? 1
8 2
9 5
EOD

plot "$dat" using "No":"Maybe" w lp # missing dp are invalid
pause -1
plot "$dat" using 1:2 w lp    # works



There are few connecting lines and no bezier curve, because an
invalid datapoint breaks those connections.

Aaand you know about that and "set datafile missing '?'", meaning
the connections should not be broken.

I find that it works if I use column numbers instead of header
strings in the "using" specifier. Looks like a bug to me.

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


Thread

Ignore missing data in the desired way u.gotzes@gmail.com - 2017-01-20 01:35 -0800
  Re: Ignore missing data in the desired way Karl Ratzsch <mail.kfr@gmx.net> - 2017-01-20 12:05 +0100
    Re: Ignore missing data in the desired way Ethan A Merritt <sfeam@users.sourceforge.net> - 2017-01-20 10:19 -0800
  Re: Ignore missing data in the desired way u.gotzes@gmail.com - 2017-01-20 12:49 -0800
    Re: Ignore missing data in the desired way sfeam <sfeam@users.sourceforge.net> - 2017-01-21 16:26 -0800

csiph-web