[R] wireframe

Kornelius Rohmeyer kornelius.rohmeyer at small-projects.de
Thu Nov 6 16:59:43 CET 2008


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.



More information about the R-help mailing list