ich versuche wieder einen 3D Surfaceplot meines Datensatzes. Leider bekomme ich es einfach nicht hin. Mit \dataplotThreeD hatte ich es vor einiger Zeit schonmal probiert, siehe hier.
\psSurface scheint in seinem Umgang unkomplizierter zu sein, doch habe ich bei all den Beispielen (z.B. im PSTricks Buch) kein Beispiel gefunden, dass damit ein Datensatz geplottet wird.
Ich versuche also einfach anstatt der Funktionsvorschrift den makro für den Datensatz einzugeben, z.B. so
\documentclass{standalone} \usepackage{pstricks} \usepackage{pst-plot} \usepackage{pst-slpe} \usepackage{pstricks-add} \usepackage{pst-3dplot} \usepackage{pst-solides3d} \begin{pspicture}(0,0)(\linewidth,0.5\linewidth) % \psgrid[subgriddiv=0,griddots=5] % \psframe(0,0)(\linewidth,0.5\linewidth) %%%%%%%%%% reading data %%%%%%%%% \readdata{\surface}{datas/depth_distr_2D_25fs.dat} %%%%%%%%%% plotting data %%%%%%%%% \psSurface[Zmin=0,Zmax=3,stepX=20,stepY=50,stepZ=1,hue=0 1]% (-50,50)(0,300){\surface} \end{pspicture}
\documentclass{standalone} \usepackage{pstricks} \usepackage{pst-plot} \usepackage{pst-slpe} \usepackage{pstricks-add} \usepackage{pst-3dplot} \usepackage{pst-solides3d} \begin{pspicture}(0,0)(\linewidth,0.5\linewidth) % \psgrid[subgriddiv=0,griddots=5] % \psframe(0,0)(\linewidth,0.5\linewidth) \psset{xunit=.5cm, yunit=.5cm, Alpha=-30, Beta=20} \pstThreeDCoor[% xMin = -50, xMax = 50, % yMin = 0, yMax = 300, % zMin = 0, zMax = 3] %%%%%%%%%% reading data %%%%%%%%% \readdata{\surface}{datas/depth_distr_2D_25fs.dat} %%%%%%%%%% plotting data %%%%%%%%% \dataplotThreeD[plotstyle=line,drawStyle=yLines]{\surface} \end{pspicture}
Bei gnuplot geht das mit dem Befehl splot ganz fix, nur würde ich gerne konsistent bei latex bleiben.
Gruß,
Klaus.