Page MenuHomec4science

exp2_poly.tex
No OneTemporary

File Metadata

Created
Thu, Mar 13, 20:47

exp2_poly.tex

\begin{tikzpicture}
\pgfplotsset
{
%scale only axis,
%scaled x ticks = base 10:2,
%height = 8cm,
width = \textwidth,
xlabel={$U_D$ [\si{\milli\volt}]},
xmin = 50, xmax = 320,
title = {Polycrystallin},
legend style =
{
at = {(0.05, 0.95)},
anchor = north west,
legend columns = 2,
font = \tiny
},
%cycle list name = color,
ymajorgrids = true,
yticklabel style={/pgf/number format/fixed}
}
\pgfplotstableread{data/exp2_d40_poly.dat}\dfourfile
\pgfplotstableread{data/exp2_d80_poly.dat}\deightfile
\begin{axis}
[
axis y line* = right,
axis x line = none,
every axis y label/.append style = {orange},
every y tick label/.append style = {orange},
ylabel={$I_R$ [\si{\ampere}]},
grid style = loosely dashed,
ymin = 0, ymax = 0.18
]
\addplot+
[
color = orange,
mark = x,
%mark options = {
% draw = black,
% fill = orange
%},
dashed,
error bars/.cd,
x dir=both,
y dir=both,
x explicit,
y explicit
]
table [x = U, y = I, x error = errU, y error = errI] {\dfourfile};
\label{plot_I_d40_poly}
\addlegendentry{$I_R$, $d = 40$ \si{\centi\metre}}
\addplot+
[
color = black,
mark = *,
mark options = {
draw = black,
fill = orange
},
%only marks,
dashed,
error bars/.cd,
x dir=both,
y dir=both,
x explicit,
y explicit
]
table [x = U, y = I, x error = errU, y error = errI] {\deightfile};
\label{plot_I_d80_poly}
\addlegendentry{$I_R$, $d = 80$ \si{\centi\metre}}
\end{axis}
\begin{axis}
[
axis y line*= left,
every axis y label/.append style = {blue},
every y tick label/.append style = {blue},
ylabel={$P$ [\si{\watt}]},
grid style = dotted,
ymin = 0, ymax = 0.05
]
\addlegendimage{/pgfplots/refstyle=plot_I_d40_poly}
\addlegendentry{$I_R$, $d = 40$ \si{\centi\metre}}
\addlegendimage{/pgfplots/refstyle=plot_I_d80_poly}
\addlegendentry{$I_R$, $d = 80$ \si{\centi\metre}}
\addplot+
[
color = blue,
mark = +,
%mark options = {
% draw = black,
% fill = blue
%},
dashed,
error bars/.cd,
x dir=both,
y dir=both,
x explicit,
y explicit
]
table [x = U, y = P, x error = errU, y error = errP] {\dfourfile};
\addlegendentry{$P$, $d = 40$ \si{\centi\metre}}
\addplot+
[
color = blue,
mark = *,
mark options = {
draw = black,
fill = blue
},
dashed,
error bars/.cd,
x dir=both,
y dir=both,
x explicit,
y explicit
]
table [x = U, y = P, x error = errU, y error = errP] {\deightfile};
\addlegendentry{$P$, $d = 80$ \si{\centi\metre}}
\end{axis}
\end{tikzpicture}

Event Timeline