[R] wireframe

Kornelius Rohmeyer
Thu, 06 Nov 2008 15:59:43 -0000

Am Donnerstag, den 06.11.2008, 10:38 -0500 schrieb Bill
Szkotnicki:
> I've been using lattice/wireframe succesfully to visualize some data.
> I have one question.
> I want to be able to change the viewpoint ( i.e. rotate the plotted
> figure a bit left or right or up and down )
> Is there a way to do that?

Take a look at the parameter screen in ?wireframe:

"The viewing direction is given by a sequence of rotations specified by
the 'screen' argument, starting from the positive Z-axis."

e.g. screen = list(z = 20, x = -70, y = 3) from the example section.

Kornelius.