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? Or is there some other package around that could help? Thanks.
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.
Try the 'rgl' package. On Thu, Nov 6, 2008 at 10:38 AM, Bill Szkotnicki <bszk at uoguelph.ca> wrote:> 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? > Or is there some other package around that could help? > Thanks. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve?
Look at the rotate.wireframe function in the TeachingDemos package. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of Bill Szkotnicki > Sent: Thursday, November 06, 2008 8:39 AM > To: r-help at r-project.org > Subject: [R] wireframe > > 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? > Or is there some other package around that could help? > Thanks. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code.