Search Contact information
University of Cambridge Home Department of Engineering
University of Cambridge >  Engineering Department >  computing help
next up previous contents
Next: Displaying data from a Up: Examples Previous: Bar and pie charts

Displaying Surfaces

To display a surface without a mesh, where the colors of the facets are smoothly graduated, use the shading command.
surf(peaks(20)) 
shading interp   %graduated color.
colorbar         %Adds a color key.



© Cambridge University Engineering Dept
Information provided by Tim Love
2006-07-24