aboutsummaryrefslogtreecommitdiffstats
path: root/120/prak120.gp
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov@twistea.su>2024-10-26 20:03:08 +0300
committerjustanothercatgirl <sotov@twistea.su>2024-10-26 20:03:08 +0300
commit5e81acb1a514231dc704f8e19f1a4c6e06318135 (patch)
treed0137411b2c94e63bee43b3d581fb73558ac3637 /120/prak120.gp
parent52d8f03d0657df15cf0fc320d03aea76d17ae4f8 (diff)
Structurization + 120 and 117 prak
Diffstat (limited to '120/prak120.gp')
-rw-r--r--120/prak120.gp14
1 files changed, 14 insertions, 0 deletions
diff --git a/120/prak120.gp b/120/prak120.gp
new file mode 100644
index 0000000..aa0e72b
--- /dev/null
+++ b/120/prak120.gp
@@ -0,0 +1,14 @@
+set term png
+set output 'prak120.png'
+set errorbars linecolor black linewidth 0.5 dashtype '.'
+s(x) = a*x + b
+c(x) = c*x + d
+d(x) = e*x + f
+fit s(x) 'output_120_сталь.data' using 1:2:3 via a,b
+fit c(x) 'output_120_медь.data' using 1:2:3 via c,d
+fit d(x) 'output_120_дюраль.data' using 1:2:3 via e,f
+set xlabel "n грузов (ед.)"
+set ylabel "Delta N(n) (мм)"
+plot 'output_120_сталь.data' using 1:2:3 with yerrorbars pointtype 1 linecolor 0 notitle, s(x) title "Сталь" , \
+ 'output_120_дюраль.data' using 1:2:3 with yerrorbars pointtype 1 linecolor 0 notitle, d(x) title "Дюраль", \
+ 'output_120_медь.data' using 1:2:3 with yerrorbars pointtype 1 linecolor 0 notitle, c(x) title "Медь"