MATLAB Function Reference    
hidden

Remove hidden lines from a mesh plot

Syntax

Description

Hidden line removal draws only those lines that are not obscured by other objects in the field of view.

hidden on turns on hidden line removal for the current graph so lines in the back of a mesh are hidden by those in front. This is the default behavior.

hidden off turns off hidden line removal for the current graph.

hidden toggles the hidden line removal state.

Algorithm

hidden on sets the FaceColor property of a surface graphics object to the background Color of the axes (or of the figure if axes Color is none).

Examples

Set hidden line removal off and on while displaying the peaks function.

See Also

shading, mesh

The surface properties FaceColor and EdgeColor

Creating Surfaces and Meshes for related functions


  hgsave hilb