plotall.gp (515B)
1 set terminal png # Set output file format 2 set output "plot.A.png" # Set output filename 3 set key top left 4 set xlabel "x" 5 set ylabel "y" 6 set title "Least-squares fit A" 7 set grid 8 plot "fit.A.dat" u 1:2 w lp title "LSfit", "data.A.txt" w errorbars title "Data" 9 10 set terminal png # Set output file format 11 set output "plot.B.png" # Set output filename 12 set key top left 13 set xlabel "x" 14 set ylabel "y" 15 set title "Least-squares fit B" 16 set grid 17 plot "fit.B.dat" u 1:2 w lp title "LSfit", "data.B.txt" w errorbars title "Data"