aboutsummaryrefslogtreecommitdiffstats
path: root/227/plots.gp
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov2070@gmail.com>2025-02-24 21:26:32 +0300
committerjustanothercatgirl <sotov2070@gmail.com>2025-02-24 21:26:32 +0300
commite10c7380486e07b277001ab3aa653b74aa990f79 (patch)
tree56911e9760a43f9753fb0190952eaf4fd9ad6151 /227/plots.gp
parent8269ece153d9f8d1a8a5fb7238adce6aa4226f99 (diff)
Added 227
Diffstat (limited to '227/plots.gp')
-rw-r--r--227/plots.gp31
1 files changed, 31 insertions, 0 deletions
diff --git a/227/plots.gp b/227/plots.gp
new file mode 100644
index 0000000..8413681
--- /dev/null
+++ b/227/plots.gp
@@ -0,0 +1,31 @@
+set term pngcairo size 1000, 800
+set grid
+
+f1(x) = a1*x+b1
+fit f1(x) 'plot_lnp.plot' using 1:2:3 yerr via a1, b1
+
+set output 'plot_lnp.png'
+set title "Зависимость логарифма давления от обратной температуры"
+set xlabel "K^{-1}"
+set ylabel "ln(p), ln(см.рт.ст)"
+plot 'plot_lnp.plot' using 1:2:3 with yerrorbars notitle lc 0 pt 1 lw 2, \
+ f1(x) title "" lc rgb "red"
+
+
+set output 'plot_lnn.png'
+set title "Зависимость логарифма динамической вязкости от обратной температы"
+set ylabel "ln(nu)"
+fit f1(x) 'plot_lnn.plot' using 1:2:3 yerr via a1, b1
+plot 'plot_lnn.plot' using 1:2:3 with yerrorbars notitle lc 0 pt 1 lw 2,\
+ f1(x) title "" lc rgb "red"
+
+
+set output 'plot_nut.png'
+set title "Зависимость обратной динамической вязкости от обратной плотности"
+set xlabel "1/rho, м^3/кг"
+set ylabel "1/nu, Па^{-1}с^{-1}"
+fit f1(x) 'plot_nut.plot' using 1:2:3 yerr via a1, b1
+plot 'plot_nut.plot' using 1:2:3 with yerrorbars notitle lc 0 pt 1 lw 2,\
+ 'plot_nut.plot' notitle with lines lc rgb "blue" lw 1,\
+ f1(x) title "Линейное приближение" lw 1 lc rgb "red"
+