Page MenuHomec4science

landau_dirichlet_B0.05_N50_spectra.tex
No OneTemporary

File Metadata

Created
Wed, Dec 4, 12:12

landau_dirichlet_B0.05_N50_spectra.tex

\begin{tikzpicture}
\pgfplotsset
{
%scale only axis,
%scaled x ticks = base 10:2,
%height = 18cm,
width = 12cm,
% insert xlabel name
xlabel={{Index []}},
%xmin = 16, xmax = 40,
%legend columns = 2,
legend style =
{
at = {(0.97, 0.95)},
anchor = north west,
%/tikz/column 2/.style={
% column sep=5pt,
%},
nodes={scale = 1.0, transform shape}
},
cycle list name = exotic,
%grid style = dashed,
%ymajorgrids = true,
% custom entry
legend image with node/.style={
legend image code/.code={%
\node[#1, circle, fill, anchor=center, inner sep=1.7pt] at (0.3cm,0cm) {};
}
},
clip mode = individual,
minor x tick num = 4,
minor y tick num = 4
}
\begin{axis}
[
% ylabel name
ylabel={$E$ [\si{\joule}]}, % TODO units
%ymin = 0, ymax = 0.4
]
\addplot
[
color = orange,
mark = asterisk,
only marks,
mark options = {
%draw = blue,
%fill = none,
mark size = 1.0pt
},
on layer = foreground
]
gnuplot [raw gnuplot] {
plot "output/landau_dirichlet_B0.050_N50.out" using 1:2;
};
\newcommand{\lowenergylevel}[2] {
\draw[black, dashed, on layer = background] (0,#1) node[right, xshift = #2, yshift = 0cm] {$#1$} -- (#2,#1);
}
\newcommand{\upenergylevel}[2] {
\draw[black, dashed, on layer = background] (#2,#1) node[left, xshift = 0cm, yshift = 0cm] {$#1$} -- (2500,#1);
}
\lowenergylevel{0.04844}{2.7cm}
\lowenergylevel{0.1423}{3.2cm}
\lowenergylevel{0.2301}{3.7cm}
\lowenergylevel{0.3121}{4.2cm}
\lowenergylevel{0.3884}{4.7cm}
\lowenergylevel{0.4591}{5.2cm}
\lowenergylevel{0.5244}{5.6cm}
\lowenergylevel{0.5842}{6cm}
\lowenergylevel{0.6385}{6.5cm}
\lowenergylevel{0.6873}{7.5cm}
\draw[blue, on layer = background] (0,0.727) node[above, xshift = 7cm, yshift = 0cm] {Transition energies} -- (2500,0.727);
\draw[blue, on layer = background] (0,0.8646) -- (2500,0.8646);
\upenergylevel{0.9043}{1.0cm}
\upenergylevel{0.9532}{1.8cm}
\upenergylevel{1.007}{2.5cm}
\upenergylevel{1.067}{3.2cm}
\upenergylevel{1.132}{3.9cm}
\upenergylevel{1.203}{4.6cm}
\upenergylevel{1.279}{5.3cm}
\upenergylevel{1.361}{6cm}
\upenergylevel{1.449}{6.7cm}
\upenergylevel{1.543}{7.4cm}
\end{axis}
\end{tikzpicture}

Event Timeline