diff options
Diffstat (limited to '227/plots.gp')
-rw-r--r-- | 227/plots.gp | 31 |
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" + |