zac
29-03-2012, 20:02
kann mir jemand sagen, warum folgender code falsch plottet?
documentclass[a4paper]{scrartcl}
\usepackage[ansinew]{inputenc}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage[a4paper,left=20mm,right=20mm, top=25mm, bottom=25mm]{geometry}
\begin{document}
\pagestyle{empty}
\begin{tikzpicture}
\begin{axis}[
ymin=-6,
ymax=6.5,
xmin=-0.4,
xmax=0.4,
xlabel= in m,
ylabel=Ver]
\addplot[red,no marks] {(0.08) / (x - 0.08)};
\end{axis}
\end{tikzpicture}
\end{document}
documentclass[a4paper]{scrartcl}
\usepackage[ansinew]{inputenc}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage[a4paper,left=20mm,right=20mm, top=25mm, bottom=25mm]{geometry}
\begin{document}
\pagestyle{empty}
\begin{tikzpicture}
\begin{axis}[
ymin=-6,
ymax=6.5,
xmin=-0.4,
xmax=0.4,
xlabel= in m,
ylabel=Ver]
\addplot[red,no marks] {(0.08) / (x - 0.08)};
\end{axis}
\end{tikzpicture}
\end{document}