Retour

Source de colorz-12.tex

Fichier TeX
Image PNG
\documentclass[a4paper]{article}
\usepackage{pst-solides3d}
 
\begin{document}
\pagestyle {empty}
\begin{pspicture}(-4,-4.5)(4,4.5)
\psset{viewpoint=50 30 40 rtp2xyz}
\psset{solidmemory}
\psset[pst-solides3d]{color1=red!60}
\psset[pst-solides3d]{color2=red!20}
\defFunction[algebraic]{f}(x,y)
   {cos(x)+sin(y)}
   {}
   {}
\psSolid[object=surface,
   base=-6.28 6.28 -6.28 6.28,
   linewidth=.001,
   ngrid=.25 .25,
   function=f,
   name=A,
   tablez=0,
   zcolor=(Red) (Yellow)
]
\end{pspicture}
 
\end{document}