[R] 3D plotting
Jonathan Baron
baron at cattell.psych.upenn.edu
Fri May 26 13:35:33 CEST 2000
One way to do 3-D plotting was just told to me by Kaspar
Pflugshaupt, in response to my earlier question about
parallel coordinate displays. It is to get the xgobi
package. There are two parts to it. One is the R
package, which you get from CRAN, under "Contributed
code." You download this and install it according to
the directions for installing packages. (For me, that
was simply "R INSTALL xgobi" on the linux command line.)
But that is just the R interface. You also need xgobi
itself. The web page for it is
http://lib.stat.cmu.edu/general/XGobi/
This does 3-D graphs, rotations, etc. Very nice.
Only the newer versions do parallel coodinate displays.
Unfortunately for me, the rpm for Linux that exists in
http://www.rpmfind.net/linux/RPM/
is out of date and does not include this, so I will have
to install the newer version by hand. Haven't done this
yet. But I have installed the RPM, and it does work
very nicely. Of course, on the R command line, you have
to say
library(xgobi)
and then the command to invoke it is
xgobi(matrix) where "matrix" is the data set you want to
display.
Jon
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list