Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F76534325
compare.tex
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Aug 8, 13:34
Size
1 KB
Mime Type
text/x-tex
Expires
Sat, Aug 10, 13:34 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
19727890
Attached To
rSTICAZZI yearII_reports
compare.tex
View Options
\begin{tikzpicture}
\pgfplotsset
{
%scale only axis,
%scaled x ticks = base 10:2,
height = 8cm,
width = 13cm,
xlabel={$t$ [\si{\second}]},
xmin = 0, xmax = 5000,
%title = {Aluminium},
legend style =
{
at = {(1.1, 1)},
anchor = north west,
%nodes={scale=0.8, transform shape}
}
%cycle list name = color,
}
\begin{axis}
[
ylabel={$<x>$},
ymin = -100, ymax = 100,
axis y line*= left,
grid style = dashed,
ymajorgrids = true,
every y tick label/.append style = {blue}
]
\addplot
[
color = cyan,
smooth,
mark = none,
]
gnuplot [raw gnuplot] {
plot "outs/harmonic.dat" using 1:5 every 3;
};
\label{xquant}
\addlegendentry{$<x>(t)$ quantique}
\addplot
[
color = violet,
smooth,
domain = 0:5000,
mark = none
]
{73.3038285837618 * sin(deg(0.003 * x))};
\label{xclass}
\addlegendentry{$x(t)$ classique}
\end{axis}
\begin{axis}
[
ylabel={$<p>$},
ymin = -0.25, ymax = 0.3,
axis y line*= right,
axis x line = none,
%grid style = dashed,
%ymajorgrids = true
every y tick label/.append style = {red}
]
\addlegendimage{/pgfplots/refstyle=xquant}\addlegendentry{$<x>$ quantique}
\addlegendimage{/pgfplots/refstyle=xclass}\addlegendentry{$<x>$ classique}
\addplot
[
color = orange,
smooth,
mark = none,
]
gnuplot [raw gnuplot] {
plot "outs/harmonic.dat" using 1:8 every 3;
};
\addlegendentry{$<p>(t)$ quantique}
\addplot
[
color = red,
smooth,
domain = 0:5000,
mark = none
]
{0.219911485751286 * cos(deg(0.003 * x))};
\addlegendentry{$p(t)$ classique}
\end{axis}
\end{tikzpicture}
Event Timeline
Log In to Comment