aboutsummaryrefslogtreecommitdiffstats
path: root/110/plots.gp
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov2070@gmail.com>2024-12-04 10:02:11 +0300
committerjustanothercatgirl <sotov2070@gmail.com>2024-12-04 10:02:11 +0300
commitc031795880d2ff2d3b64864a4ba68280a91d21c3 (patch)
treed3d3c930cb16a6ff16b5501c977ea1701fe5bd72 /110/plots.gp
parent35f687f6a4e306585a263b2611f9a5c8b3c2a3a8 (diff)
Finished 110
Diffstat (limited to '110/plots.gp')
-rw-r--r--110/plots.gp18
1 files changed, 16 insertions, 2 deletions
diff --git a/110/plots.gp b/110/plots.gp
index 772accd..e13f65c 100644
--- a/110/plots.gp
+++ b/110/plots.gp
@@ -1,5 +1,18 @@
set term pngcairo size 1000, 800
-#set tmargin at screen 0.95
+set title "МНК t от (x_4 - x_0)^{1/2}"
+set output "mnk.png"
+
+f(x) = a1*x+b1
+fit f(x) 'mnk.plot' using 1:2:3 yerror via a1, b1
+
+set xlabel "(x_4 - x_0)^{1/2}, м^{1/2}"
+set ylabel "t, c"
+
+plot 'mnk.plot' using 1:2:3 with yerrorbars notitle lc 0 pt 1 lw 2,\
+ f(x) title "t" lc rgb "#a889e7" lw 2
+
+reset
+
set output 'compar.png'
set title "Расположение J_i на оси J (пунктир: погрешность с коэффициентом доверия a=75%)"
@@ -8,9 +21,10 @@ set multiplot layout 4,1
set linetype 10 dashtype (5, 10)
unset ytics
+unset ylabel
unset xlabel
-set xrange[0.035:0.042]
+set xrange[0.012:0.022]
set yrange[-1:1]
plot 'ex2_1.plot' every ::0::0 using 1:2:3 with xerrorbars title "J_1" lc 0 pt 1 lw 2,\
'ex2_2.plot' every ::0::0 using 1:2:3 with xerrorbars title "J_{1_a}" lt 10 lc 0 pt 1 lw 2