Creating three-dimensional surface plots