summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples/23-06-79.ltx
blob: 64d0e8b74e2972243540cb3cdb708fabadc2039c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
%% 
%%  Ein Beispiel der DANTE-Edition
%% 
%% 
%%  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[]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{352.81416pt}
\setlength\parindent{0pt}
\StartShownPreambleCommands
\usepackage[dvipsnames,svgnames]{pstricks}
\usepackage{pst-solides3d}
\StopShownPreambleCommands
\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}