Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

hidden - Remove hidden lines from mesh plot

Syntax

hidden on
hidden off
hidden

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.

mesh(peaks)
hidden off
hidden on

See Also

shading, mesh

The surface properties FaceColor and EdgeColor

Surface and Mesh Creation for related functions

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS