aboutsummaryrefslogtreecommitdiffstats
path: root/219/plots.gp
diff options
context:
space:
mode:
Diffstat (limited to '219/plots.gp')
-rw-r--r--219/plots.gp29
1 files changed, 29 insertions, 0 deletions
diff --git a/219/plots.gp b/219/plots.gp
new file mode 100644
index 0000000..9e1a17e
--- /dev/null
+++ b/219/plots.gp
@@ -0,0 +1,29 @@
+set term pngcairo size 1000, 800
+set grid
+
+f1(x) = a1*x+b1
+fit f1(x) 'R(W).plot' using 1:2:3:4 xyerr via a1, b1
+
+set output 'R(W).png'
+set title "График зависимости сопротивления R от тепловой мощности W"
+set xlabel "W, Дж"
+set ylabel "R, Ом"
+set label sprintf("A = %.5g\n B = %.5g", a1, b1) at graph 0.1, 0.9 front boxed
+plot 'R(W).plot' using 1:2:3:4 with xyerrorbars notitle lc 0 pt 1 lw 2, \
+ f1(x) title "R(W)" lc rgb "red"
+
+reset
+
+f2(x) = a2*x+b2
+fit f2(x) 'I_V(DP).plot' via a2, b2
+
+ set output 'I_V(DP).png'
+ set title "График зависимости плотности потока от разницы давлений"
+ set xlabel "P-P_0, Па"
+ set ylabel "I_V, м^3/с"
+set label sprintf("A = %.5g\n B = %.5g", a2, b2) at graph 0.1, 0.9 front boxed
+
+plot 'I_V(DP).plot' notitle lc 0 pt 1 lw 2, \
+ f2(x) title "I_V(dP)" lc rgb "red"
+
+