Page MenuHomec4science

power.tex
No OneTemporary

File Metadata

Created
Fri, Jan 3, 01:05

power.tex

\begin{tikzpicture}
\pgfplotsset
{
%scale only axis,
%scaled x ticks = base 10:2,
%height = 18cm,
width = 10cm,
xlabel={$t$ [\si{\second}]},
xmin = 0, xmax = 0.6,
legend style =
{
at = {(0.95, 0.95)},
anchor = north east
},
%cycle list name = color,
grid style = dashed,
ymajorgrids = true
}
\begin{axis}
[
ylabel={$P$ [\si{\watt}]},
ymin = -0.6, ymax = 1
]
\addplot
[
smooth,
color = blue,
mark = none
]
gnuplot [raw gnuplot] {
plot "outs/power.dat" using 1:2 every 2;
};
\addlegendentry{Source froide $P_f$}
\addplot
[
smooth,
color = red,
mark = none,
]
gnuplot [raw gnuplot] {
plot "outs/power.dat" using 1:3 every 2;
};
\addlegendentry{Source chaude $P_c$}
\addplot
[
smooth,
color = violet,
mark = none
]
gnuplot [raw gnuplot] {
plot "outs/power.dat" using 1:4 every 2;
};
\addlegendentry{$P_c + P_f$}
\addplot
[
smooth,
color = orange,
mark = none
]
gnuplot [raw gnuplot] {
plot "outs/power.dat" using 1:5 every 2;
};
\addlegendentry{Source froide}
\end{axis}
\end{tikzpicture}

Event Timeline