Joel Fürstenberg-Hägg
2009-Nov-19 09:27 UTC
[R] 3D plot, rotatable and with adjustable symbols
Hi all, I've tried to make a 3D plot, but have run into some problems. I'd like to have a plot that I can rotate interactively using the mouse, which is possible using the plots3d {R.basic}. However, I would like to change the symbols used as the points, but there's no pch in plot3d(). If I use the Scatterplot3d package, I'm able to change this, but not able to rotate the plot interactively. Does anyone know a solution to this? Maybe another package is better? Best regards, Joel _________________________________________________________________ Nya Windows 7 gör allt lite enklare. Hitta en dator som passar dig! http://windows.microsoft.com/shop [[alternative HTML version deleted]]
Try the rgl package. r ------------------------------------------------- Remko Duursma Post-Doctoral Fellow Centre for Plants and the Environment University of Western Sydney Hawkesbury Campus Richmond NSW 2753 Dept of Biological Science Macquarie University North Ryde NSW 2109 Australia Mobile: +61 (0)422 096908 www.remkoduursma.com 2009/11/19 Joel F?rstenberg-H?gg <joel_furstenberg_hagg at hotmail.com>:> > Hi all, > > > > I've tried to make a 3D plot, but have run into some problems. > > > > I'd like to have a plot that I can rotate interactively using the mouse, which is possible using the plots3d {R.basic}. However, I would like to change the symbols used as the points, but there's no pch in plot3d(). > > > > If I use the Scatterplot3d package, I'm able to change this, but not able to rotate the plot interactively. > > > > Does anyone know a solution to this? Maybe another package is better? > > > > Best regards, > > > > Joel > > _________________________________________________________________ > Nya Windows 7 g?r allt lite enklare. Hitta en dator som passar dig! > http://windows.microsoft.com/shop > ? ? ? ?[[alternative HTML version deleted]] > > > ______________________________________________ > 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. > >
Look at the ggobi program and the rggobi package for interactions between R and ggobi. -- 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 Joel F?rstenberg-H?gg > Sent: Thursday, November 19, 2009 2:27 AM > To: r-help at r-project.org > Subject: [R] 3D plot, rotatable and with adjustable symbols > > > Hi all, > > > > I've tried to make a 3D plot, but have run into some problems. > > > > I'd like to have a plot that I can rotate interactively using the > mouse, which is possible using the plots3d {R.basic}. However, I would > like to change the symbols used as the points, but there's no pch in > plot3d(). > > > > If I use the Scatterplot3d package, I'm able to change this, but not > able to rotate the plot interactively. > > > > Does anyone know a solution to this? Maybe another package is better? > > > > Best regards, > > > > Joel > > _________________________________________________________________ > Nya Windows 7 g?r allt lite enklare. Hitta en dator som passar dig! > http://windows.microsoft.com/shop > [[alternative HTML version deleted]]