Page MenuHomec4science

exp5.tex
No OneTemporary

File Metadata

Created
Fri, Jan 3, 13:10

exp5.tex

\begin{tikzpicture}
\pgfplotsset
{
%scale only axis,
%scaled x ticks = base 10:2,
%height = 8cm,
width = \textwidth,
xlabel={Type of filter used (Nf means no filter)},
%xmin = 0.5, xmax = -0.15,
title = {Filtering},
legend style =
{
at = {(0.95, 0.95)},
anchor = north east,
font = \small
},
yticklabel style={/pgf/number format/fixed}
%grid style = dashed,
%ymajorgrids = true
}
\pgfplotstableread{data/exp5.dat}\datafile
\begin{axis}
[
ylabel={$I_{\gamma}$ [\si{\ampere}]},
ymin = 0, ymax = 0.26,
ybar = 2pt,
bar width = 4pt,
draw = black,
xtick = data,
flexible xticklabels from table={data/exp5.dat}{F}{col sep = space},
]
\addplot[fill = blue]
table [x expr = \coordindex, y = Ig_mono] {\datafile};
\addlegendentry{Mono-crystallin}
\addplot[fill = red]
table [x expr = \coordindex, y = Ig_poly] {\datafile};
\addlegendentry{Poly-crystal}
\addplot[fill = yellow]
table [x expr = \coordindex, y = Ig_amo] {\datafile};
\addlegendentry{Amorphous}
\end{axis}
\end{tikzpicture}

Event Timeline