[pstricks] pst-3dplot

Herbert Voss Herbert.Voss at FU-Berlin.DE
Thu Jul 31 09:09:50 CEST 2008


Loïc schrieb:

> I'm trying to draw the graphics from the pst-3dplot manual at page 54
> (figure 12)
> 
> \documentclass[12pt]{article}
> \usepackage{pst-3dplot}
> \begin{document}
> \begin{pspicture}(-6,-4)(6,5)
> \psset{Beta=15}
> \psplotThreeD[plotstyle=polygon,linecolor=blue,
> drawStyle=xyLines,yPlotpoints=50,xPlotpoints=50,linewidth=1pt,hiddenLine=true](-4,4)(-4,4){%
> x 3 exp x y 4 exp mul add x 5 div sub 10 mul
> 2.729 x dup mul y dup mul add neg exp mul
> 2.729 x 1.225 sub dup mul y dup mul add neg exp add}
> \pstThreeDCoor[xMin=-1,xMax=5,yMin=-1,yMax=5,zMin=-1,zMax=5]
> \end{pspicture}
> \end{document}
> 
> What are the valid options (plotStyle, drawStyle)?

plotstyle=curve

> Is it possible to color the surface according to the altitude z?

See http://tug.org/PSTricks/main.cgi?file=pst-plot/3D/contour

Herbert



More information about the PSTricks mailing list