[pstricks] pst-3dplot

Loïc xlogo at free.fr
Mon Jul 28 18:51:27 CEST 2008


Hello,

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)?

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

Best regards

Loïc





More information about the PSTricks mailing list