aboutsummaryrefslogtreecommitdiffstats
path: root/226/plots.gp
blob: 853d03da21ea0d42efe6de17d445992d9fa3996d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
set term pngcairo size 2400, 2000 font "Arial,30"
set grid lw 4

f1(x) = a1*x + b1
f2(x) = a2*x + b2

fit f1(x) 'T(U).plot' using 1:2:3 yerr via a1,b1
a2=a1
fit f2(x) 'Tv(U).plot' using 1:2:3 yerr via a2,b2

set output 'plot.png'
set title "Зависимость температур термоэлектронов от напряжения накала"
set xlabel "U, В"
set ylabel "T, К"
set key top left

set xrange[2.09:3.01]

plot 	'T(U).plot' using 1:2:3 with yerrorbars title "Расчёт по программе" lc rgb("blue") pt 2 lw 5,	\
	f1(x) lc rgb "red" lw 3 title "Расчёт по программе",			\
	'Tv(U).plot' using 1:2:3 with yerrorbars title "расчёт по v_{нв}" lc rgb("orange") pt 3 lw 5,	\
	f2(x) lc rgb "green" lw 3 title "расчёт по v_{нв}"
#'T(U).plot' with lines smooth csplines lc rgb "red" lw 3 title "Расчёт по ",			\
#'Tv(U).plot' with lines smooth csplines lc rgb "green" lw 3 title "Расчёт по v_{нв}"