summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples/23-07-3.ltx
blob: 7f6fa3bb47dae4d01429ccd06c55c8108d848fe6 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
%% 
%%  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}
\def\Hintergrund{\psset{Sphere=false}{%
 \psset{Xorigine=40}   % hintere Ebene
 \pstSphereFrame[fillstyle=solid,fillcolor=OrangePale](-70,-50)(70,10)
 \pstSphereGrid[linecolor=blue,linewidth=0.2mm,grille=10,
                Ymin=-50,Ymax=10,Xmax=70,Xmin=-70](40,0,0)
 \psset{normale=0 90,Xorigine=40,Yorigine=0,Zorigine=-10}    % untere Ebene
 \pstSphereFrame[fillstyle=solid,fillcolor=cyan,opacity=0.5](-70,-30)(70,0)
 \pstSphereGrid[linecolor=blue,linewidth=0.2mm,grille=10,
                Ymin=-30,Ymax=0,Xmax=70,Xmin=-70](40,0,-10)
 \psset{normale=90 0,Xorigine=40,Yorigine=70,Zorigine=-10}   % Linke Ebene
 \pstSphereFrame[fillstyle=solid,fillcolor=yellow](0,0)(-30,-60)
 \pstSphereGrid[linecolor=blue,linewidth=0.05mm,grille=10,
                Ymin=-60,Ymax=0,Xmin=-30,Xmax=0](40,70,-10)
 \psset{normale=90 0,Xorigine=40,Yorigine=-70,Zorigine=-10}  % Rechte Ebene
 \pstSphereFrame[fillstyle=solid,fillcolor=yellow](0,0)(-30,-60)
 \pstSphereGrid[linecolor=blue,linewidth=0.05mm,grille=10,
                Ymin=-60,Ymax=0,Xmin=-30,Xmax=0](40,-70,-10)
 \multido{\iY=-70+10}{15}{\pstSpherePoint(40,\iY,0){A}\uput[90](A){\small\red\iY}}
 \multido{\iX=10+10}{4}{\pstSpherePoint(\iX,0,-10){A} \uput[-45](A){\small\blue\iX}}
 \multido{\iZ=-10+10}{7}{\pstSpherePoint(40,0,\iZ){A} \uput[135](A){\small\green\iZ}}}}
\StartShownPreambleCommands
\usepackage{pst-mirror,pst-grad,multido}
\StopShownPreambleCommands
\begin{document}
\begin{pspicture}(-5,-4)(5,5)  \Hintergrund% siehe Beispiel oben
 \psset{fillstyle=solid,fillcolor=blue!30,linecolor=red,A=2.5,B=5,C=A}
 \pstCube[CX=15,CY=0,CZ=-5]          \pstCube[CX=15,CY=-10,CZ=7,RotZ=30]
 \pstCube[CX=15,CY=10,CZ=7,RotX=60]  \pstDie[B=2.5,CX=10,CY=10]
 \pstDie[A=5,B=A,C=A,fillcolor=cyan!50,CX=25,CZ=5,CY=-5,RotZ=45,RotY=20,RotX=-60]
\end{pspicture}
\end{document}