[pstricks] pst-3dplot problem with RotX, ...
Herbert Voss
Herbert.Voss at fu-berlin.de
Wed Oct 21 13:58:37 CEST 2020
Am 20.10.20 um 13:44 schrieb Patrice MEGRET:
>
> I am using pst-3dplot to illustrate Cartesian basis transformation.
> See bottom of the mail for the full example with the problem.
>
> So I have plotted one set of axes with:
>
> \pstThreeDCoor[linecolor=red,xMax=7,yMax=6.5,zMax=4.5,%
>
> nameX=$1$,nameY=$2$,nameZ=$3$]
>
> and a second set of axes by:
>
> \pstThreeDCoor[linecolor=blue,xMax=7,yMax=6.5,zMax=4.5,%
>
> nameX=$1'$,nameY=$2'$,nameZ=$3'$%
>
> RotSequence=xyz,eulerRotation=false,RotX=30,RotZ=45]
>
Patrice,
everything of \pstThreeDCoor is local to the macro. You need instead of
\pstThreeDCoor[linecolor=blue,xMax=7,yMax=6.5,zMax=4.5,nameX=$1'$,nameY=$2'$,nameZ=$3'$,%
RotSequence=xyz,eulerRotation=false,RotX=30,RotZ=45]
the sequence
\psset{RotSequence=xyz,eulerRotation=false,RotX=30,RotZ=45}
\pstThreeDCoor[linecolor=blue,xMax=7,yMax=6.5,zMax=4.5,nameX=$1'$,nameY=$2'$,nameZ=$3'$]
if it should be valid for following macros.
best
Herbert
More information about the PSTricks
mailing list.