MATLAB Functions Help Desk

hidden

Purpose

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 BackgroundColor, which is usually black. hidden off sets the FaceColor property to none.

Examples

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

See Also

shading

The Surface properties FaceColor and EdgeColor.



[ Previous | Help Desk | Next ]