|
From: Theo H. <th...@ph...> - 2007-07-23 17:48:02
|
Martin Giersich wrote: > > No change using 0/0. Same broken line drawing. I attached a plot- output > of th above plot-command. > > This rendering problems appear using MacOSX 10.4.... and gnuplot 4.0, > 4.2, 4.3. > > Btw, the official gnuplot-documentation (Thomas Williams & Colin > Kelley, "gnuplot - An Interactive Plotting Program", 3 March 2007, > available at: http://www.gnuplot.info/docs/gnuplot.pdf) describes at > page 25 using "1/0" as a way that "may be used to generate an > "undefined" flag, which > causes a point to ignored". No other method to do this is refered. > If there is another method to do this - besides change of dat-file > format - i'd like to know... > gnuplot is behaving exactly as documented. If you plot `with linespoints`, you will see that the expected points are present. However, not all points are joined with lines, because there is missing or invalid data between them. This is usually important information, and so gnuplot indicates this. If you really want to have the lines joined, you can do something like: plot "<awk '$3==1 { print }' AGdata-test.dat" using 4:5 w li You're effectively changing the data file format on the fly to omit the invalid data. gnuplot won't see it, and so will draw lines between the valid data points. THeo |