Re: [R] Plotting 3d data?

2008-06-16 Thread Wesley Tansey
> If your data is really a bunch of points, not on a grid, then you need > to use plot3d() to plot it as points, or convert it to a surface. The > interp() function in the akima package can do that. (There are lots of > other possibilities too.) Actually, my data is on a grid. The values ar

[R] Plotting 3d data?

2008-06-16 Thread Wesley Tansey
Hi all! I'm very new to R, and I'm having trouble figuring out how to go from a file of points that I have to a 3d surface plot of the data. I typically have something like this: X Y Z 0.0050.02334.45 0.0035 0.63 28.48 . I've tried looking at the persp