Page MenuHomec4science

InSn_VI.tex
No OneTemporary

File Metadata

Created
Sun, Jan 5, 05:24

InSn_VI.tex

\begin{tikzpicture}
\pgfplotsset
{
%scale only axis,
%scaled x ticks = base 10:2,
%height = 18cm,
width = 10cm,
xlabel={$I$ [\si{\milli\ampere}]},
xmin = -160, xmax = 160,
%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 = -1, ymax = 1
]
\pgfplotstableread{rawdata/InSn_VI.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{In Sn}
\addplot
[
mark = none,
color = black,
domain = -1.03:1.03
] {0.006515587618752961 * x - 8.523460745785633e-05};
\addlengendentry{Linear fit}
\end{axis}
\end{tikzpicture}

Event Timeline