[R] 3D Scatter Plot

From: Lauren, Peter <Peter.Lauren_at_Essexcorp.com>
Date: Sat 18 Jun 2005 - 07:21:49 EST


Hello:  

I would like to be able to do a 3D scatter plot from 3 variables, 2 independent and 1 dependent. The closest R function I could find for this is "cloud". However cloud uses, as input, a matrix where the value of each matrix element is the dependent variable value at that matrix coordinate. My problem is that the independent variable values are floating point and can be of any value. Consequently some of the matrix bins may not have a value assigned. An example of the sort of data I may have is as follows  

Independent 1 Independent 2 Dependent

0.145674                 0.526482534              1.676986

0.325634                 0.326385237              2.384384

0.235267                 0.352653288              0.356483

 

Is there any way to do a 3D scatter plot with this sort of data?  

Thanks very much in advance,

Peter Lauren.  

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jun 18 08:02:27 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:50 EST