von MenschMax » Sa 12. Nov 2016, 18:35
Hallo,
ich habe folgendes Diagramm
\documentclass[parskip=full]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{lmodern}
\usepackage{tikz}
\usepackage{pgfplots, pgfplotstable}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
height=6cm,
legend style={
at={(0.5,-0.3)},
anchor=north,
legend columns=-1
},
ymin=0,
ymax=90,
ylabel={Temperatur in °C},
ymajorgrids,
nodes near coords,
every node near coord/.append style={font=\footnotesize},
point meta=explicit symbolic,
]
\addplot coordinates {
(0,4.499674202)
(10,4.324053491)
(20,10.4473975)
(30,19.59755699)
(40,29.29712891)
(50,41.1387128)
(60,50.13531996)
(70,52.05104588)
(80,57.3142446)
(90,67.88965727)
(100,82.47613206)
};
\legend{CFD}
\end{axis}
\end{tikzpicture}
\end{document}
Wie kriege ich es denn hin, dass die Kurve ganz links im Diagramm beginnt? Quasi die beiden Nullen aufeinanderfallen?
Besten Dank
Grüße Max
Hallo,
ich habe folgendes Diagramm
[code]
\documentclass[parskip=full]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{lmodern}
\usepackage{tikz}
\usepackage{pgfplots, pgfplotstable}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
height=6cm,
legend style={
at={(0.5,-0.3)},
anchor=north,
legend columns=-1
},
ymin=0,
ymax=90,
ylabel={Temperatur in °C},
ymajorgrids,
nodes near coords,
every node near coord/.append style={font=\footnotesize},
point meta=explicit symbolic,
]
\addplot coordinates {
(0,4.499674202)
(10,4.324053491)
(20,10.4473975)
(30,19.59755699)
(40,29.29712891)
(50,41.1387128)
(60,50.13531996)
(70,52.05104588)
(80,57.3142446)
(90,67.88965727)
(100,82.47613206)
};
\legend{CFD}
\end{axis}
\end{tikzpicture}
\end{document}
[/code]
Wie kriege ich es denn hin, dass die Kurve ganz links im Diagramm beginnt? Quasi die beiden Nullen aufeinanderfallen?
Besten Dank
Grüße Max