|
From: Chris K <gnu...@li...> - 2006-04-02 11:42:19
|
I almost see what is happening now. > This works: > > set title "test-2.gp" > plot "-" binary record=10 using 0:1 with linespoints,\ > "-" binary record=10 using 0:($1)**2 with linespoints > > This works: > > set title "test-3.gp" > plot "-" binary record=10 using 0:1 with linespoints,\ > "-" binary record=5x2 using 1:($2)**2 with linespoints > > This fails, saying "line 0: warning: Skipping data file with no valid points" > > set title "test-4.gp" > plot "-" binary record=5x2 using 1:2 with linespoints,\ > "-" binary record=5x2 using 1:($2)**2 with linespoints > > The use of 5x2 instead of 10 in the first plot triggers the error. I am going > to hypothesize that the first use of "record=5x2" causes it to read an amount of > data greater than "record=10". But I have not read the code to check. > outd.data is exactly 10 floats long (40 bytes) cat test-2.gp outd.data out.data | gnuplot WORKS cat test-3.gp outd.data out.data | gnuplot WORKS cat test-4.gp outd.data out.data | gnuplot FAILS cat test-4.gp outd.data out.data outd.data | gnuplot WORKS This is passing strange. I am attaching my files. (Endian is correct for Mac OS X on PPC, you may need to specify). -- Chris |