%% 
%%  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}
