diff options
author | justanothercatgirl <sotov2070@gmail.com> | 2024-10-10 17:17:34 +0300 |
---|---|---|
committer | justanothercatgirl <sotov2070@gmail.com> | 2024-10-10 17:17:34 +0300 |
commit | 52d8f03d0657df15cf0fc320d03aea76d17ae4f8 (patch) | |
tree | 5003cd85d787559e8ac26c3e026eebdacd7377ee /plots.gp | |
parent | b5308c302b3aa0452d24067cf9fb561aabff7fb1 (diff) |
formatted output better
Diffstat (limited to 'plots.gp')
-rw-r--r-- | plots.gp | 23 |
1 files changed, 15 insertions, 8 deletions
@@ -1,19 +1,26 @@ +f(x) = a*x+b + set term png -set output 'T2_timer.png' set grid +set output 'T2_timer.png' set xlabel "m, ед." set ylabel "T^2, c^2" -plot 'outputT2_timer.data' using 1:2:3 with yerrorbars title "", 'outputT2_timer.data' with line title "T^2(m)" -set term png +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 grid set xlabel "m, ед." set ylabel "T^2, c^2" -plot 'outputT2_photo.data' using 1:2:3 with yerrorbars title "", 'outputT2_photo.data' with line title "T^2(m)" -set term png +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 grid set xlabel "U, В" set ylabel "w, 1/c" set yrange[0:250] -plot 'outputU.data' using 1:2:3:4 with xyerrorbars title "", 'outputU.data' with line title "w(U)" +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" |