<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%% 
%%  The LaTeX Graphics Companion, 2ed (first printing May 2007)
%% 
%%  Example 6-7-43 on page 448.
%% 
%%  Copyright (C) 2007 Michel Goossens, Frank Mittelbach, Denis Roegel, Sebastian Rahtz, Herbert Vo\ss 
%% 
%%  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.
%% 

\documentclass{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{348.0pt}
\StartShownPreambleCommands
\usepackage{pst-gr3d}
\StopShownPreambleCommands
\begin{document}
\def\PstGridThreeDHookEnd{{\psset{PstPicture=false,gridwidth=0.1}
 {\def\PstGridThreeDHookNode{\PstGridThreeDNodeProcessor{blue}}%
  \PstGridThreeD[gridcolor=blue,GridThreeDZPos=3](0,7,0)}%
 {\def\PstGridThreeDHookNode{\PstGridThreeDNodeProcessor{red}}%
  \PstGridThreeD[gridcolor=red,GridThreeDXPos=1,GridThreeDZPos=1](0,3,1)}%
 {\def\PstGridThreeDHookNode{\PstGridThreeDNodeProcessor{green}}%
  \PstGridThreeD[gridcolor=green,GridThreeDYPos=6](1,1,1)}}}
 \PstGridThreeD[gridwidth=0.04,GridThreeDNodes=true](1,7,3)
 \SpecialCoor
 \rput([Rx=0.15,angle=140]Gr3dNode033){\psline[linecolor=blue]{&lt;-}(0.8;150)}
 \rput([Rx=0.95,angle=140]Gr3dNode033)
      {\shortstack{1d grid\\\footnotesize (X=8,Y=1,Z=1)}}
 \rput([Rx=0.15,angle=-50]Gr3dNode121){\psline[linecolor=red]{&lt;-}(1.2;-50)}
 \rput([Rx=1.5,angle=-55]Gr3dNode121)
      {\shortstack{2d grid\\\footnotesize (X=4,Y=2,Z=1)}}
 \rput([Rx=0.2,angle=-100]Gr3dNode160){\psline[linecolor=green]{&lt;-}(0.8;-100)}
 \rput([Rx=1.4,angle=-100]Gr3dNode160)
      {\shortstack{3d grid\\\footnotesize (X=2,Y=2,Z=2)}}
\end{document}
</pre></body></html>