Hi everyone,
I am having trouble with this pretty simple script that uses here document as an input to the plotting program gnuplot.
Code:
#!/bin/sh
for i in file1 file2 file3
do
gnuplot<<+
set multiplot
set xrange [0:10]
set xrange [0:1]
plot $i u 3:5 w linespoints
+
done
The error that I am getting is
Code:
./plot.sh: line 11: syntax error: unexpected end of file
Can someone point me out to what is wrong here? Thanks.