Surface Plot

DESCRIPTION:

Make a surface plot. surface.default is a synonym for persp.

This function is an S Version 3 generic (see Methods); method functions can be written to handle specific S Version 3 classes of data. Classes which already have methods for this function include:
rsm.lm

USAGE:

surface(x, ...) 
surface.default(x, y, z, xlab="X", ylab="Y", zlab="Z",  
      axes=T, box=T, eye, zlim, ar=1)  

DETAILS:

surface is simply a call to persp in the default case. However for rsm.lm objects, it calls surface.rsm.lm which simplifies the construction of a surface perspective plot to a single call.

SEE ALSO:

, ,