diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples-en/23-06-2.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/pstricks-examples-en/23-06-2.ltx | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples-en/23-06-2.ltx b/Master/texmf-dist/doc/latex/pstricks-examples-en/23-06-2.ltx new file mode 100644 index 00000000000..ef5d453cbba --- /dev/null +++ b/Master/texmf-dist/doc/latex/pstricks-examples-en/23-06-2.ltx @@ -0,0 +1,47 @@ +%% +%% A DANTE-Edition example +%% +%% Example 23-06-2 on page 392. +%% +%% 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{375.57637pt} +\setlength\parindent{0pt} + +\usepackage{pst-plot,pst-solides3d} + +\begin{document} +\begin{pspicture}(-2,-3)(2.5,3) +\psaxes[yAxis=false](-2,-2)(2,2) +\psset{viewpoint=0 0 5,Decran=5} +\psSolid[object=grille,base=-2 2 -2 2] +\psSolid[object=vecteur,args=0 0 0 2 2 0,linecolor=red,linewidth=2pt] +\axesIIID(3,4,4)\pnode(2,-2){B}\pnode(2,2){A} +\end{pspicture} +\qquad +\begin{pspicture}(-0.5,-3)(5,3) +\psaxes[yAxis=false](0,-2)(5,2) +\psset{viewpoint=5 0 5,Decran=5,RotX=-90} +\psSolid[object=grille,base=-2 2 -2 2,RotX=89.9] +\psSolid[object=vecteur,args=0 0 0 2 2 0,linecolor=red,linewidth=2pt] +\axesIIID[axisnames={x,z,y}](3,3,0) +\psdot(5,0)\uput[0](5,0){$V$} +\psline[tbarsize=5mm 5]{|<->|}(0,-0.5)(5,-0.5)\rput*(2.5,-0.5){$D=V$} +\psline[linestyle=dashed](0,2)(5,0)\psline[linestyle=dashed](0,-2)(5,0) +\uput[-90](0,-2.5){original}\uput[-90](0,-2.85){image} +\psline[linestyle=dotted](A)(0,2) +\psline[linestyle=dotted](B)(0,-2) +\end{pspicture} +\end{document} |