-
Notifications
You must be signed in to change notification settings - Fork 0
/
T_R.tex
69 lines (63 loc) · 2.32 KB
/
T_R.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
\documentclass[tikz]{standalone}
\usepackage{cmap}
\usepackage[T2A]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
grid=both,
scale=1.5,
% xmode=log,
grid style={line width=.1pt, draw=gray!10},
major grid style={line width=.2pt,draw=gray!50},
% axis lines=middle,
minor tick num=5,
% xmin=1000,
% xmax=11,
% ymin=0,
% ymax=5,
ylabel={$T$, c},
xlabel={$R$, кОм},
tick style={very thick},
% scale=0.5,
grid=both,
grid style={line width=1pt, draw=black!20},
major grid style={line width=.5pt,draw=black!90},
minor y tick num=4,
minor x tick num=4,
xtick distance=500,
ytick distance=1/2,
% ymax = 1.8,
xmin = 0,
ymin = 0,
% xmax = 40,
% ticklabel style={font=\tiny,fill=white},
axis lines=middle,
% xlabel style={right, xshift=1em},
% ylabel style={above},
x label style={at={(axis description cs:0.5,-0.08)},anchor=north},
y label style={at={(axis description cs:-0.1,.5)},rotate=90,anchor=south}
% legend style={
% at={(rel axis cs:0,1)},
% anchor=north west,draw=none,inner sep=0pt,fill=gray!10}
]
% \addplot +[mark=*, mark size=1.5pt, only marks] plot [error bars/.cd, y dir = both, y explicit] table [x=u, y=i, y error=di, x error=du] {data/vax2.csv};
\addplot +[mark=square*, mark size=2pt, only marks] table [x=R, y=TT] {data/table_r.dat};
\addplot +[mark=*, mark size=1.5pt, only marks]
%plot [error bars/.cd, y dir = both, y explicit]
table [x=R, y=T] {data/table_r.dat};
% \addlegendentry{$U_c=-7$ В}
% \addplot [samples=100, domain=109.2:240] {(x-109.2)/12.38};
% \addplot [samples=100, domain=106.5:240] {(x-106.5)/12.43};
% \addplot [samples=100, line width=1pt, domain=107.4:240] {(x-107.4)/12.36};
% \addlegendentry{Аппроксимация}
\addplot [samples=100, domain=0:4500, dashdotdotted] {0.0013*x+0.1142};
% \addlegendentry{$\sigma_k=7.649$}
% f(x) = p1*x + p2
% Coefficients (with 95% confidence bounds):
% p1 = 0.001031 (0.0009921, 0.001069)
% p2 = 0.1842 (0.1195, 0.2488)
\end{axis}
\end{tikzpicture}
\end{document}