-
Notifications
You must be signed in to change notification settings - Fork 0
/
vax.tex
72 lines (66 loc) · 2.19 KB
/
vax.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
70
71
72
\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,
xlabel={$U$, В},
ylabel={$I$, мА},
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=10,
ytick distance=1,
% ymax = 1.8,
xmin = 100,
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.05,.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};
% \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:52, dashdotdotted] {0.05215*e^(-(x-27)^2/2/(7.649)^2)};
% \addlegendentry{$\sigma_k=7.649$}
% >
% General model:
% f(x) = (x-x0)/r0
% Coefficients (with 95% confidence bounds):
% r0 = 12.38 (12.29, 12.47)
% x0 = 109.2 (108.7, 109.7)
% Goodness of fit:
% SSE: 0.3017
% R-square: 0.9993
% Adjusted R-square: 0.9993
% RMSE: 0.07768
\end{axis}
\end{tikzpicture}
\end{document}