![addplot3[surf] kann nicht plotten](https://rvso.com/image/348753/addplot3%5Bsurf%5D%20kann%20nicht%20plotten%20.png)
Ich weiß, dass das für die meisten von Ihnen eine grundlegende Frage sein dürfte, aber ich habe erst vor Kurzem mit der Verwendung von pgfplots begonnen und habe keinerlei Erfahrung.
Ich versuche, eine 3D-Oberfläche mit folgenden Koordinaten und Code zu zeichnen:
\documentclass{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
\begin{axis}[colorbar,colormap/jet, xmin = -0.2,xmax = 1.2,xmajorgrids,
ymin= -0.2,ymax = 1.2,ymajorgrids,zmin = 0.0,
zmax =1.0,zmajorgrids,title=Resultierender Zustand]
\addplot3[surf] table {
0 0 0
0 0.125 0
0 0.25 0
0 0.375 0
0 0.5 0
0 0.625 0
0 0.75 0
0 0.875 0
0 1 0
0.125 0 0
0.125 0.125 0.0227636
0.125 0.25 0.0704405
0.125 0.375 0.0810631
0.125 0.5 0.0825012
0.125 0.625 0.0847161
0.125 0.75 0.059342
0.125 0.875 0.0115338
0.125 1 0
0.25 0 0
0.25 0.125 0.0704405
0.25 0.25 0.239427
0.25 0.375 0.293824
0.25 0.5 0.299262
0.25 0.625 0.297564
0.25 0.75 0.228341
0.25 0.875 0.059342
0.25 1 0
0.375 0 0
0.375 0.125 0.0810631
0.375 0.25 0.293824
0.375 0.375 0.373863
0.375 0.5 0.379686
0.375 0.625 0.376929
0.375 0.75 0.297564
0.375 0.875 0.0847161
0.375 1 0
0.5 0 0
0.5 0.125 0.0825012
0.5 0.25 0.299262
0.5 0.375 0.379686
0.5 0.5 0.383375
0.5 0.625 0.379686
0.5 0.75 0.299262
0.5 0.875 0.0825012
0.5 1 0
0.625 0 0
0.625 0.125 0.0847161
0.625 0.25 0.297564
0.625 0.375 0.376929
0.625 0.5 0.379686
0.625 0.625 0.373863
0.625 0.75 0.293824
0.625 0.875 0.0810631
0.625 1 0
0.75 0 0
0.75 0.125 0.059342
0.75 0.25 0.228341
0.75 0.375 0.297564
0.75 0.5 0.299262
0.75 0.625 0.293824
0.75 0.75 0.239427
0.75 0.875 0.0704405
0.75 1 0
0.875 0 0
0.875 0.125 0.0115338
0.875 0.25 0.059342
0.875 0.375 0.0847161
0.875 0.5 0.0825012
0.875 0.625 0.0810631
0.875 0.75 0.0704405
0.875 0.875 0.0227636
0.875 1 0
1 0 0
1 0.125 0
1 0.25 0
1 0.375 0
1 0.5 0
1 0.625 0
1 0.75 0
1 0.875 0
1 1 0
};
\end{axis}
\end{tikzpicture}
\end{document}
Das resultierende Bild sieht wie folgt aus:
Und ist offensichtlich falsch.. Kann mir jemand helfen?
Vielen Dank im Voraus