# [pstricks] Odd (?) behavior of \ThreeDput

Herbert Voss Herbert.Voss at FU-Berlin.DE
Thu Jul 31 09:23:32 CEST 2008

Zbigniew Nitecki schrieb:
>  From Section 28.31 of Voss's book (3rd ed.), I expect the following
> ************************************************************************************
> \begin{pspicture}(-2.5,-2.0)(2.5,3.5)
> \psset{xunit=2cm, yunit=2cm}
> \pstThreeDSquare[fillstyle=solid, fillcolor=lightgray](0,0.5,0)(1,0,0)(0,0,1)
> \ThreeDput[normal=0 1 0]{
> \rput(0.2,-0.2){$\vec{x_{0}}$}
> \rput(0.25,0.45){$R$}
> }
> \end{pspicture}

> What is going on?  Shouldn't "normal=" specify the normal to the plane
> containing the text?
>
>
> Related question:  It seemed to me that if I changed viewpoint (eg, Alpha=30)
> without changing the normal, then again the plane of the label was off:  it
> looked as if this is in some absolute coordinate system which does not change
> with viewpoint.  Comment?

use \pstPlanePut

\pstPlanePut[plane=xz,planecorr=normal](0.8,0.5,0.3){$\vec{x_{0}}$}
\pstPlanePut[plane=xz,planecorr=normal](0.3,0.5,0.7){$R$}

Herbert