kann mir jemand sagen , wieso der Plot nur bis x=5 geht? Ich hätte ihn gern bis x=10.
Kann man ein grid genau so einstellen wie die Einteilung der Achsen ist? (Striche)
\documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{pgfplots} \pgfplotsset{ compat=1.9 } \begin{document} \begin{tikzpicture}[scale=1] \begin{axis}[ width=10cm, height=10cm, axis on top, axis x line*=middle, axis y line*=left, minor x tick num=3, minor y tick num=4, xmin=0, xmax=10, samples=1000, font=\scriptsize, /pgf/number format/fixed, /pgf/number format/fixed zerofill, /pgf/number format/precision=0 ] \addplot[smooth,thick] {(250/9)*(x-6)^2-250}; \end{axis} \end{tikzpicture} \end{document}
Vielen Dank.