von hilleyq8 » Do 27. Apr 2017, 08:22
Ich möchte gerne eine Vektorfunktion wie folgt: c(t)= ( t^3 -4 , t^2 -4) =(x,y) plotten. (Natürlich hier als zeilenvektor geschrieben)
und danach mit Tangenten beschriften in den punkten c(0) c(2) c(-2). Am besten sollten dies dann richtungspfeile sein und ich will diese Beschriften.
Ich weiß nicht genau wie das geht und wäre für jede Hilfe dankbar!
Hier mein erster Versuch:
\documentclass{scrartcl}
\usepackage{pgfplots}
\pgfplotsset{compat=1.12}
\pgfplotsset{every axis/.append style={
axis x line=middle,
axis y line=middle,
axis line style={<->,color=blue},
xlabel={$x$},
ylabel={$y$},
}}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xmin=-5,xmax=5,
ymin=-5,ymax=5,
grid=both,
]
\addplot [domain=-4:4,samples=50]({x^3-4*x},{x^2-4});
\end{axis}
\end{tikzpicture}
\end{document}
Ich möchte gerne eine Vektorfunktion wie folgt: c(t)= ( t^3 -4 , t^2 -4) =(x,y) plotten. (Natürlich hier als zeilenvektor geschrieben)
und danach mit Tangenten beschriften in den punkten c(0) c(2) c(-2). Am besten sollten dies dann richtungspfeile sein und ich will diese Beschriften.
Ich weiß nicht genau wie das geht und wäre für jede Hilfe dankbar!
Hier mein erster Versuch:
[code]
\documentclass{scrartcl}
\usepackage{pgfplots}
\pgfplotsset{compat=1.12}
\pgfplotsset{every axis/.append style={
axis x line=middle,
axis y line=middle,
axis line style={<->,color=blue},
xlabel={$x$},
ylabel={$y$},
}}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xmin=-5,xmax=5,
ymin=-5,ymax=5,
grid=both,
]
\addplot [domain=-4:4,samples=50]({x^3-4*x},{x^2-4});
\end{axis}
\end{tikzpicture}
\end{document}
[/code]