notes on how to plot a surface