ich habe Probleme mit dem Zeichnen eines Funktionsgraphs mit tikzpicture - die Linie bricht bei x = 5 ab, ich kann machen was ich will. Hier der Code
\begin{tikzpicture}
\begin{axis} [
axis lines = middle,
xscale = 0.6,
yscale = 0.6,
xmin = -1,
xmax = 7,
ymin = -20,
ymax = 20,
xlabel = \(x\),
ylabel = \(y\),
]
\addplot +
[
no marks,
thick,
color = blue,
samples = 200
]
{(-(1/3) * x^3) + (4 * x^2) - (15*x) + 10};
\end{axis}
\end{tikzpicture}Und so sieht der Graph aus - er hört bei x = 5 auf, ich möchte ihn aber bis x = 7 zeichnen: .
Ich bin für jede Hilfe dankbar!
Gruß
Stefan

