Re: [R] How to create surface3d plot with surface data

2013-05-21 Thread nguyen.hoang
WIth x, y are vectors, the grid is plotted by surface3d. Thanks for your answer. My code is here; #SurfacePlot is plotted by above surface data Surface - read.csv(D:/R/Surface.csv, header=F) Surface - as.matrix(Surface) x - Surface[2:17,1] x - as.numeric(x) # x is vector 1x16 y -

Re: [R] How to create surface3d plot with surface data

2013-05-20 Thread Duncan Murdoch
On 13-05-20 12:17 AM, Nguyen Hoang wrote: I'm very new to R, and I'm having trouble figuring out a 3d surface plot of the data. I typically have something like this: 0.1 0.2 0.3 0.4 0.5 0.001 40960.16 40960.16 40960.16 40960.16 40960.16 0.0025

[R] How to create surface3d plot with surface data

2013-05-19 Thread Nguyen Hoang
I'm very new to R, and I'm having trouble figuring out a 3d surface plot of the data. I typically have something like this: 0.1 0.2 0.3 0.4 0.5 0.001 40960.16 40960.16 40960.16 40960.16 40960.16 0.0025 40960.16 40960.16 40960.16 40960.16 40960.16