[pstricks] 3dplot -- contour of a function

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sun Jul 25 12:11:30 CEST 2010


Am 25.07.2010 10:58, schrieb Marco Daniel:

> You can see that there is a 3d-plot without any lines. Here I specified
> the colormap to plot the function. I know the website
> http://tug.org/PSTricks/main.cgi?file=pst-plot/3D/contour
> 
> I hope you know what I mean :-)

not really, do you want a surface plot or a default 3d plot?


\documentclass[11pt]{article}
\usepackage{pst-solides3d}
\begin{document}

\begin{pspicture}(-2,-2)(2,2)
\psset{lightsrc=50 20 20, viewpoint=15 60 20 rtp2xyz,Decran=20,algebraic}
\psSurface[
 fillcolor=gray,
 ngrid=0.1 0.1,
 grid,
 axesboxed,
 Zmin=-1,Zmax=1](-1,-1)(1,1){ x*y }
\end{pspicture}

\end{document}

Herbert


More information about the PSTricks mailing list