%% %% A DANTE-Edition example %% %% %% Copyright (C) 2010 Herbert Voss %% %% It may be distributed and/or modified under the conditions %% of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. %% %% See http://www.latex-project.org/lppl.txt for details. %% %% %% ==== % Show page(s) 1 %% \documentclass[]{article} \pagestyle{empty} \setlength\textwidth{375.57637pt} \setlength\parindent{0pt} \usepackage[dvipsnames,svgnames]{pstricks} \usepackage{pst-solides3d} \begin{document} \psset{viewpoint=50 50 20 rtp2xyz,Decran=20,linewidth=0.01} \begin{pspicture}(-2.5,-1.5)(2.5,1) \psSolid[object=grille,base=-3 5 -3 3,hue=(Yellow) (CadetBlue)] \end{pspicture} \begin{pspicture}(-2.5,-1.5)(2.5,1) \psSolid[object=grille,base=-3 5 -3 3, color1=red!50,color2=green!20,hue=(color1) (color2)] \end{pspicture} \begin{pspicture}(-2.5,-1.5)(2.5,1) \psSolid[object=grille,base=-3 5 -3 3,hue=(Yellow) (CadetBlue),deactivatecolor] \end{pspicture} \end{document}