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 package.
Duncan Murdoch ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.