[pstricks] Re: Right-handed coordinates in pst-3dplot

Herbert Voss LaTeX at zedat.fu-berlin.de
Wed Jan 11 06:57:09 CET 2006


Joel Salomon wrote:
> On 1/10/06, Herbert Voss <LaTeX at zedat.fu-berlin.de> wrote:
> 
>>>On the other hand, how would I get a *left*-handed system if I wanted it?
>>
>>can you give an url for an image where I can see a left-handed system?
> 
> 
> <http://mathworld.wolfram.com/Right-HandedCoordinateSystem.html> vs
> <http://mathworld.wolfram.com/Left-HandedCoordinateSystem.html>.

\documentclass{minimal}
\usepackage{pstricks}
\usepackage{pst-3dplot}
\begin{document}

\psset{Alpha=30,Beta=15,rotZ=90}
\begin{pspicture}(-4,-4)(4,4)%\psgrid[subgriddiv=1]
   \pstThreeDCoor[drawing=true,xMin=0,xMax=4,spotX=-90,
      yMin=0,yMax=3,zMin=0,zMax=4]
   \pstThreeDDot[drawCoor](1,1,1)
\end{pspicture}


\begin{pspicture}(-4,-4)(4,4)%\psgrid[subgriddiv=1]
   \pstThreeDCoor[drawing=true,xMin=0,xMax=-4,spotX=-90,
      yMin=0,yMax=3,zMin=0,zMax=4]
   \pstThreeDDot[drawCoor](-1,1,1)
\end{pspicture}

\end{document}


The only problem is, that you need to negate the x values by yourself.

Herbert




More information about the PSTricks mailing list