[pstricks] Issue with rotation of objects in package pst-3dplot

Herbert Voss Herbert.Voss at FU-Berlin.DE
Mon Nov 8 19:03:45 CET 2010


Am 05.11.2010 06:41, schrieb David Tarazona:

> I have a trouble about rotation of objects in package pst-3dplot
> Usually, if i want to rotate an object using the euler rotation i can use
> the option "eulerRotation=true" and then, specify the rotation with RotZ=45
> for example.
> My problem is I do not want a rotation around the point (0,0,0) but from
> another point in space.
> For instance, this example graphs a line with length 1 rotating about z-axis
> in (0,0,0) 45 degrees (the Alpha and Beta are just for better visual of the
> space):

The only possible solution is to rotate it with \rput{<angle>}(..){object}

You can define a 3D node which can then be used as coordinate for \rput

Herbert


More information about the PSTricks mailing list