summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples/23-07-3.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples/23-07-3.ltx')
-rw-r--r--Master/texmf-dist/doc/latex/pstricks-examples/23-07-3.ltx51
1 files changed, 51 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples/23-07-3.ltx b/Master/texmf-dist/doc/latex/pstricks-examples/23-07-3.ltx
new file mode 100644
index 00000000000..7f6fa3bb47d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pstricks-examples/23-07-3.ltx
@@ -0,0 +1,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}