diff options
Diffstat (limited to '102/prak102.gp')
-rw-r--r-- | 102/prak102.gp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/102/prak102.gp b/102/prak102.gp new file mode 100644 index 0000000..b241801 --- /dev/null +++ b/102/prak102.gp @@ -0,0 +1,26 @@ +f(x) = a*x+b + +set term png +set grid +set output 'T2_timer.png' +set xlabel "m, ед." +set ylabel "T^2, c^2" +fit f(x) 'outputT2_timer.data' using 1:2:3 via a,b +plot 'outputT2_timer.data' using 1:2:3 with yerrorbars title "",\ + 'outputT2_timer.data' with line title "T^2(m)",\ + f(x) title "ax+b" +set output 'T2_photo.png' +set xlabel "m, ед." +set ylabel "T^2, c^2" +fit f(x) 'outputT2_photo.data' using 1:2:3 via a,b +plot 'outputT2_photo.data' using 1:2:3 with yerrorbars title "",\ + 'outputT2_photo.data' with line title "T^2(m)",\ + f(x) title "ax+b" +set output 'U.png' +set xlabel "U, В" +set ylabel "w, 1/c" +set yrange[0:250] +fit f(x) 'outputU.data' using 1:2:3 via a,b +plot 'outputU.data' using 1:2:3:4 with xyerrorbars title "",\ + 'outputU.data' with line title "w(U)",\ + f(x) title "ax+b" |