|
From: Ethan M. <merritt@u.washington.edu> - 2007-07-16 20:54:17
|
On Saturday 14 July 2007 07:15, Hans-Bernhard Br=F6ker wrote:
> Martin Giersich wrote:
>=20
> > And i got rendering problems if i use data-clipping with lines and=20
> > linespoint render mode
> >=20
> > plot 'AGdata-test.dat' using 4:($3=3D=3D1?$5:1/0) with lines,\
> > 'AGdata-test.dat' using 8:($7=3D=3D1?$9:1/0) with lines,\
> > 'AGdata-test.dat' using 12:($11=3D=3D1?$13:1/0) with lines=20
>=20
> Guess you've just found out why 1/0 is not the recommended way of=20
> spelling out "no valid data", in gnuplot. 0/0, which is well and truly=20
> undefined instead of just being infinite, usually works better.
Since you're using the CVS version, you also have the option
of using the symbol NaN ("not a number") directly:
plot 'AGdata-test.dat' using 4:($3=3D=3D1 ? $5 : NaN) with lines
=2D-=20
Ethan A Merritt
|