What is the best way graphically to visualize a 3-D density function?  As in I would like to visualize z=f(x,y)?

Not necessary but R code this would be great.