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