|
From: Petr M. <mi...@ph...> - 2006-08-28 19:43:58
|
I have noticed that if there is at least one blank line at the end of a
datafile, then
set table; plot 'bla1'
shows a dummy undefined point at the end:
#Curve 0 of 1, 5 points
#x y type
1 10 i
2 20 i
2 30 i
4 40 i
0 0 u
That dummy "0 0 u" does not appear for
splot 'bla1'
It probably does not hurt anything?
***
> In the non-($n) case, the plot should be the same as if you remove these
> junk lines from the datafile.
I think datafiles should not have "stupid" values, but, amazingly, gnuplot
does not ignore such lines; try this:
0.1 10 1.111
0.2 20 2.222
0.3 bla 3.333
0.4 40 4.444
gnuplot> set table; plot 'bla1'
#Curve 0 of 1, 4 points
#x y type
0.1 10 i
0.2 20 i
2 0.3 i
0.4 40 i
gnuplot> set table; splot 'bla1'
#Surface 0 of 1 surfaces
#IsoCurve 0, 4 points
#x y z type
0.1 10 1.111 i
0.2 20 2.222 i
2 0 0.3 i
0.4 40 4.444 i
Even that this has no relation to "set datafile missing", the "replacement"
values are strange -- 'help missing' even says "erroneously".
Further, the first example in 'help missing' + its description seems to be
wrong.
---
PM
|