Generating plots in Gnuplot using loops
问题 I would like to generate several plots using Gnuplot thats why I need to use loop. The data is loading from files "sort'i'.dat". The code is shown below but it doesn't work. I have got some problem with main loop. I don't know why it doesn't work, maybe it is connected with my version of Gnuplot. Thanks. do for [i=0:10] { set term png set output 'sort'.i.'.png' set title "Quick sort" set xlabel "Position number" set ylabel "Number on position" unset key plot 'sort'.i.'.dat' using 1:2 with