I would like to do the following thing
set output 'error0.tex'
plot 'error0.dat' using 1:2 title 'Error x', \
error0.dat' using 1:3 title 'Error y'
...
...
set output 'error10.tex'
plot 'error10.dat' using 1:2 title 'Error x', \
error10.dat' using 1:3 title 'Error y'
Is there any simple way to get this?
So i get 10 different files with 2 graphs in it.