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

Not necessary but R code this would be great.