Skip to content
Prev 156893 / 398506 Next

How to draw the graph of f(x,y) = x * y ?

On 9/23/2008 12:54 PM, Paul Smith wrote:
No, you would have to write it yourself.  The basic idea is to use 
outer() to construct a matrix of function evaluations, then plot the 
matrix using persp, contour, image, rgl::persp3d, etc.  There are 
examples on the ?contour man page.

Duncan Murdoch