Re: [R] contour lines on persp plot

2009-06-01 Thread Uwe Ligges
One quick idea is to use the functions - contourLines() to calculate the contour lines - trans3d() to transform the 3D coordinates into the 2D space you will be plotting into - polygon() to plot the contour lines Uwe Ligges Jack Siegrist wrote: Hello folks, I am a beginner R user. I have

[R] contour lines on persp plot

2009-05-27 Thread Jack Siegrist
Hello folks, I am a beginner R user. I have been able to make a 3D surface plot using 'persp'. The surface is made by a grid of lines emanating perpendicularly from each of the x and y axes at regular intervals. I can get rid of that grid by setting 'border=NA'. Can anyone suggest some ways to r