von lk » Do 21. Feb 2013, 20:50
Hallo Leute,
ich kämpfe gerade das erste mal mit LaTeX und habe nun folgendes Problem:
Ich erstelle mit tikzpicture und einer externen .dat -Datei einen Plot, das klappt soweit auch, aber ich hab da jetzt Kurven und Punkte, ich brauche aber nur die Punkte. Habe dann only marks reingeschrieben aber nix passiert, alles gleich.
Kennst das Problem jemand? Wie kann ich es lösen?
Danke schon mal!
Hier mein Code:
\begin{tikzpicture}
\begin{axis}[scale only axis, width=0.8\textwidth,height=0.2\textheight,
xtick={0,0.1,...,0.5}, %\empty,
% x tick label style={rotate=75},
% axis x line = bottom,
% axis y line =left,
ytick={0,0.2,...,1.4},
xlabel = $x_{1_{min}}$,
xmax=0.51,
xmin=0,
ylabel= $\tilde{\upomega}_{12}^{*}$,
ymax=1.31,
ymin=0
]
\addplot table [ only marks, mark=*, color=red, x={2par}, y={omega}]{omx1min214.dat};
\end{axis}
\end{tikzpicture}
Hallo Leute,
ich kämpfe gerade das erste mal mit LaTeX und habe nun folgendes Problem:
Ich erstelle mit tikzpicture und einer externen .dat -Datei einen Plot, das klappt soweit auch, aber ich hab da jetzt Kurven und Punkte, ich brauche aber nur die Punkte. Habe dann only marks reingeschrieben aber nix passiert, alles gleich. :-(
Kennst das Problem jemand? Wie kann ich es lösen?
Danke schon mal!
Hier mein Code:
\begin{tikzpicture}
\begin{axis}[scale only axis, width=0.8\textwidth,height=0.2\textheight,
xtick={0,0.1,...,0.5}, %\empty,
% x tick label style={rotate=75},
% axis x line = bottom,
% axis y line =left,
ytick={0,0.2,...,1.4},
xlabel = $x_{1_{min}}$,
xmax=0.51,
xmin=0,
ylabel= $\tilde{\upomega}_{12}^{*}$,
ymax=1.31,
ymin=0
]
\addplot table [ only marks, mark=*, color=red, x={2par}, y={omega}]{omx1min214.dat};
\end{axis}
\end{tikzpicture}