[R] about 3d surface plot

Huntsinger, Reid reid_huntsinger at merck.com
Mon Jul 18 15:47:26 CEST 2005


Have a look at the "rgl" package on CRAN.

Reid Huntsinger

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of
jonathenwu at hotmail.com
Sent: Monday, July 18, 2005 8:24 AM
To: r-help at stat.math.ethz.ch
Subject: [R] about 3d surface plot


Hi 
I have a data format like this:
x coordinates   y coordinates             z value
3.77E+002	  7.13E+002	0,000000000
1.27E+003	  5.52E+002	2,756785261
1.06E+003	  4.76E+002	2,583918174
3.86E+002	  7.15E+002	0,158626133
3.60E+002	  1.77E+002	2,007595908
a pair of x and y corresponds to a z value. Can I use these data to draw a 
3d surface plot, in which surface constists of z values?if can, how?
thanks
Hao Wu




More information about the R-help mailing list