|
From: <br...@ph...> - 2006-08-28 22:02:17
|
Petr Mikulik wrote: >> 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' You partly missed Dan's point. By 'non-($n) case', I think he was referring to "plot 'bla1' u 1:2:3". And yes, that's supposed to behave differently from "plot 'bla1'". The documentation even says so, right there in 'help using'. > Further, the first example in 'help missing' + its description seems to be > wrong. No, the example matches the 2D case of your example quite nicely. It doesn't match the 3D case as well. I suspect that's because splot never used to have a 2-column default case back in the days when 'missing' and 'using' still worked as documented (before pm3d, among other things), so there's nothing for using-less splot to fall back to, seeing a data record with 2 usable entries. |