[R] 3D Graphs

Duncan Murdoch murdoch at stats.uwo.ca
Tue Sep 2 18:56:47 CEST 2008

On 9/2/2008 12:42 PM, Raphael Fraser wrote:
> Can R plot 3D graphs? If so, how would you plot x^2 + y^2 + z^2 = 1?

There are several ways.  Plotting a function z = f(x,y) is easiest; 
persp or image or contour can do that.  Plotting a general surface is 
harder, but there are examples of how to do this in ?persp3d in the rgl 

Duncan Murdoch

More information about the R-help mailing list