Retour

Source de colorz-09.tex

Fichier TeX
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,
   color1=red!20,
   color2=red!60,
   tablez=0 .2 6 {} for,
   zcolor=(Red) (Yellow)
]
\end{pspicture}
 
\end {document}