aboutsummaryrefslogtreecommitdiffstats
path: root/218/plots.gp
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov2070@gmail.com>2025-04-14 00:34:52 +0300
committerjustanothercatgirl <sotov2070@gmail.com>2025-04-14 00:34:52 +0300
commit5ee716791bf7a8ca74c1670a6887a53ab92141f6 (patch)
tree0a5a522f89d258ec36f4af23cc60aaa578abe7e8 /218/plots.gp
parent320bf2f0155edd67557a3042403eeb843b90a41d (diff)
added 218, 226, 234, 240
Diffstat (limited to '218/plots.gp')
-rw-r--r--218/plots.gp16
1 files changed, 16 insertions, 0 deletions
diff --git a/218/plots.gp b/218/plots.gp
new file mode 100644
index 0000000..eb9516c
--- /dev/null
+++ b/218/plots.gp
@@ -0,0 +1,16 @@
+set term pngcairo size 1000, 800
+set grid
+
+f1(x) = a1*x+b1
+fit f1(x) '1dt(dp).plot' via a1, b1
+
+set output '1dt(dp).png'
+set title "График зависимости велечины, обратной температуре воздуха, от разницы давлений"
+set xlabel "1/T (1/К)"
+set ylabel "P (Па)"
+set key top left
+
+set label sprintf("A = %.4g\n B = %.4g", a1, b1) at graph 0.2, 0.9 front boxed
+plot '1dt(dp).plot' notitle lc 0 pt 1 lw 2, \
+ f1(x) title "1/dT(dP)" lc rgb "red"
+