summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_en/22-06-52.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/PSTricks_en/22-06-52.ltx')
-rw-r--r--info/examples/PSTricks_en/22-06-52.ltx40
1 files changed, 40 insertions, 0 deletions
diff --git a/info/examples/PSTricks_en/22-06-52.ltx b/info/examples/PSTricks_en/22-06-52.ltx
new file mode 100644
index 0000000000..094af7f674
--- /dev/null
+++ b/info/examples/PSTricks_en/22-06-52.ltx
@@ -0,0 +1,40 @@
+%%
+%% A DANTE-Edition example
+%%
+%%
+%% Copyright (C) 2011 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{201.70511pt}
+\setlength\parindent{0pt}
+
+\usepackage{pst-solides3d}
+
+\begin{document}
+\begin{pspicture}(-4,-4)(4,5)
+ \psset{Decran=20,viewpoint=100 50 20 rtp2xyz}
+ \axesIIID[labelsep=5pt](0,0,0)(20,20,10)
+ \psPoint(-4.79,2.06,0){C1}\psPoint(-4.79,15.76,0){Ox}\psPoint(8.43,5.57,0){C2}
+ \psPoint(-14.14,3.34,0){H3} \psPoint(14.14,-2.94,8.90){H6}
+ \psPoint(14.14,-2.94,-8.90){H7} \psPoint(6.43,-16.29,0){H8}
+ \psline(C1)(H3)\psline(C2)(H7) \psline(C2)(H8)\psline(C1)(C2)
+ \psline[doubleline=true](C1)(Ox)\psline(C2)(H6)
+ \uput[r](H3){$\mathrm{H_1}$} \uput[l](H6){$\mathrm{H_2}$}
+ \uput[l](H7){$\mathrm{H_3}$} \uput[l](H8){$\mathrm{H_4}$}
+ \uput{0.25}[u](C1){$\mathrm{C_1}$} \uput{0.25}[d](C2){$\mathrm{C_2}$}
+ \uput{0.25}[r](Ox){$\red\mathrm{O}$}
+ \psdots[dotstyle=o,dotsize=0.3](H3)(H6)(H7)(H8)
+ \psdots[dotsize=0.4](C1)(C2)\psdot[linecolor=red,dotsize=0.4](Ox)
+\end{pspicture}
+\end{document}