ich versuche gerade die einfache Funktion 1/x mit pgfplots zu erstellen. Leider zeigt diese mir das wahre vom Ei.
hier ein Minimalbeispiel:
\documentclass[paper=a4,12pt]{scrartcl} \usepackage{pgfplots} \pgfplotsset{compat=1.7} \begin{document} \begin{figure} \centering \begin{tikzpicture} \begin{axis} \addplot gnuplot [id=exp,mark=none,domain=-5:5]{1/(x)}; \addlegendentry{Test} \end{axis} \end{tikzpicture} \end{figure} \end{document}
Der Graph sieht halt recht eigenartig aus.
Wisst ihr vllt. voran das liegt.
Liebe Grüße
Tu