Re: [R] 3d plotting from a 2d array

2012-11-11 Thread Duncan Murdoch
On 12-11-11 7:08 PM, Jake Roth wrote: Hi, I'm new to R and am learning the ropes of r-help and programming. I'm attempting to plot a 2-D mesh in 3-D using the persp function. I've positioned the graph using phi and theta, but I'm having trouble overlaying color onto the actual surface accordin

[R] 3d plotting from a 2d array

2012-11-11 Thread Jake Roth
Hi, I'm new to R and am learning the ropes of r-help and programming. I'm attempting to plot a 2-D mesh in 3-D using the persp function. I've positioned the graph using phi and theta, but I'm having trouble overlaying color onto the actual surface according to the surface's "z" values. I've tri