Retour

colorz-05.tex

Télécharger le fichier Fichier PDF
Image PNG
\documentclass{article}
\usepackage{pst-solides3d}
 
\begin{document}
\pagestyle {empty}
 
\begin{pspicture}(-4,-1)(4,7.5)
\psset{viewpoint=50 30 20 rtp2xyz}
\psset{solidmemory}
\psset[pst-solides3d]{color1=red!60}
\psset[pst-solides3d]{color2=red!20}
\defFunction[algebraic]{f}(x,y)
   {(x^2+y^2)/4}
   {}
   {}
\psSolid[object=surface*,
   base=-4 4 -4 4,
   r=5,
   ngrid=1. .5,
   function=f,
   name=A,
   tablez=2 3 4 5,
   zcolor=1 0 0 0 0 1 0 0
]
\end{pspicture}
 
\end {document}