I'm trying to pipe a data file to gnuplot. The data file looks like:
Type1 67 45
Type2 78 34
My gp script is:
set terminal dumb
set style data histogram
set style histogram cluster gap 1
set auto x
set style fill solid border rgb "black"
set yrange [0:*]
plot "<cat" using 2:xtic(1), "" u 3:xtic(1)
When I type cat test.dat | gnuplot script.gp
I get the warning
line 7: Skipping data file with no valid points
and a graph of the first data column is shown, but without the second.
I'd really appreciate any help.