Retour

colorz-08.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=0 .5 5 {} for,
   zcolor=0 .8 1 1 1 .7 (hsb)
]
\end{pspicture}
 
\end {document}