Page MenuHomec4science

exp1.tex
No OneTemporary

File Metadata

Created
Fri, Jan 3, 11:16

exp1.tex

\begin{tikzpicture}
\pgfplotsset
{
%scale only axis,
%scaled x ticks = base 10:2,
%height = 8cm,
width = \textwidth,
xlabel={$\frac{1}{d^2}$ [\si{1\per\metre^2}]},
xmin = 1, xmax = 19,
title = {Irradiation power study},
legend style =
{
at = {(0.95, 0.75)},
anchor = east
},
%cycle list name = color,
grid style = dashed,
ymajorgrids = true
}
\pgfplotstableread{data/exp1.dat}\datafile
\begin{axis}
[
ylabel={$P_{\gamma}$ [\si{\watt}]},
ymin = 0, ymax = 2.5
]
\addplot+
[
color = black,
mark = *,
mark options = {
draw = black,
fill = yellow
},
only marks,
error bars/.cd,
x dir=both,
y dir=both,
x explicit,
y explicit
]
table [x = _d, y = Pg, x error = err_d, y error = errPg] {\datafile};
%\addlegendentry{$F \cdot R \sin(\alpha)$}
\addplot+
[
color = yellow,
mark = none,
domain = 0:20
]
{0.110960 * x + 0.218094};
\end{axis}
\end{tikzpicture}

Event Timeline