von dehein2 » Do 18. Apr 2013, 20:29
Hallo,
ich möchte eine eigentlich recht einfache Funktion y = (2x)^(2/3) plotten und dachte es ginge so:
\documentclass{scrreprt}
\usepackage{graphicx}
\usepackage{pgfplots}
\begin{document}
\begin{figure}[h]
\begin{tikzpicture}
\begin{axis}[
xmin=0.5,
xmax=2,
ymin=0,
ymax=2,
xlabel=$r_{Einlauf}/d_{Rotor}$,
ylabel=$T_{Duct}/T$,
height=9cm,
width=14cm,
legend pos=south east,
xticklabel style={/pgf/number format/.cd,fixed}
]
\addplot {(2x)^(2/3)};
\end{axis}
\end{tikzpicture}
\caption{Schub mit und ohne Duct abhängig vom Expansionsverhältnis}
\label{plot:t von ainfty}
\end{figure}
\end{document}
aber leider klappt das nicht wegen eines PGF Math Error: Unknown operator x' ....
sin (x) klappt doch aber z.b.. Was mache ich hier falsch?
Vielen Dank nochmal
Hallo,
ich möchte eine eigentlich recht einfache Funktion y = (2x)^(2/3) plotten und dachte es ginge so:
[code]
\documentclass{scrreprt}
\usepackage{graphicx}
\usepackage{pgfplots}
\begin{document}
\begin{figure}[h]
\begin{tikzpicture}
\begin{axis}[
xmin=0.5,
xmax=2,
ymin=0,
ymax=2,
xlabel=$r_{Einlauf}/d_{Rotor}$,
ylabel=$T_{Duct}/T$,
height=9cm,
width=14cm,
legend pos=south east,
xticklabel style={/pgf/number format/.cd,fixed}
]
\addplot {(2x)^(2/3)};
\end{axis}
\end{tikzpicture}
\caption{Schub mit und ohne Duct abhängig vom Expansionsverhältnis}
\label{plot:t von ainfty}
\end{figure}
\end{document}
[/code]
aber leider klappt das nicht wegen eines PGF Math Error: Unknown operator x' ....
sin (x) klappt doch aber z.b.. Was mache ich hier falsch? ;)
Vielen Dank nochmal