set output './student_log_jan2026.ps' 
set term postscript color enhanced 'Helvetica,18'  
set style line 1 lt rgb 'red' lw 3  
set style line 2 lt rgb 'green' lw 3  
set style line 3 lt rgb 'blue' lw 3  
set style line 4 lt rgb 'cyan' lw 3  
set style line 5 lt rgb 'violet' lw 3  
set grid 
set key top left 
set xlabel 'log10 ( Ring diameter [cm] )'  
set ylabel 'log10 ( Time for 10 swings [seconds] ) ' 
set title 'Swinging ring experiment - log version ' 
f(x) = a + b*x 
fit f(x) './swing_log_jan2026.dat' u 1:2 via a, b 
plot [][] './swing_log_jan2026.dat'     using 1:2 with points ls 1 ps 0.8 pt 6  t ''   ,  f(x) with lines lc -1 t 'linear fit ' 
set output 
quit 
