Page MenuHomec4science

Ag_VB.tex
No OneTemporary

File Metadata

Created
Fri, Jan 3, 05:52

Ag_VB.tex

\begin{tikzpicture}
\pgfplotsset
{
%scale only axis,
%scaled x ticks = base 10:2,
%height = 18cm,
width = 10cm,
xlabel={$B$ [\si{\milli\tesla}]},
xmin = -400, xmax = 400,
%title = {Aluminium},
legend style =
{
at = {(0.05, 0.95)},
anchor = north west
},
%cycle list name = color,
grid style = dashed,
ymajorgrids = true
}
\begin{axis}
[
ylabel={$V$ [\si{\milli\volt}]},
ymin = -0.04, ymax = 0.04
]
\pgfplotstableread{outs/Ag_VB.dat}\datafile
\addplot+
[
color = red,
mark = x,
mark options = {
draw = red,
fill = none
},
only marks,
error bars/.cd,
x dir=both,
y dir=both,
x explicit,
y explicit
]
table [x = B, y = V, x error = errB, y error = errV] {\datafile};
\addlegendentry{Silver}
\pgfplotstableread{outs/Cu_VB.dat}\datafile
\addplot+
[
color = blue,
mark = x,
mark options = {
draw = blue,
fill = none
},
only marks,
error bars/.cd,
x dir=both,
y dir=both,
x explicit,
y explicit
]
table [x = B, y = V, x error = errB, y error = errV] {\datafile};
\addlegendentry{Copper}
\addplot
[
mark = none,
color = red,
domain = -400:400
] {8.254767356231508e-05 * x - 1.9980568303729946e-06};
\addlegendentry{Linear fit}
\addplot
[
mark = none,
color = blue,
domain = -400:400
] {4.6004948476410986e-05 * x - 3.512343587395375e-06};
\addlegendentry{Linear fit}
\end{axis}
\end{tikzpicture}

Event Timeline