i want to plot datafiles named "0.txt", "1.txt", "2.txt" etc.
My plot-script looks like this:
do for [i=0:9]{
set xrange [-0.5:7.5]
set yrange [-0.5:7.5]
set term pngcairo size 1280,720
set output .i.".png"
plot .i.".txt" matrix with image
set term x11
}
Where .i. is a placeholder for i, which starts at 0 and increases to 9. The error message is: "line 8: Invalid expression"
Do you see the mistake or have an idea?