# hidden

## Purpose

Remove hidden lines from mesh plot.

## Synopsis

    hidden on
    hidden off
    hidden

## Description

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

`hidden` `off` turns off hidden line removal.

`hidden`, by itself, toggles the hidden line state.

## Examples

Try the statements:

    mesh(peaks)
    hidden off
    hidden on

## Algorithm

`hidden` sets the `FaceColor` property of `surface` objects. `hidden on` corresponds to`FaceColor = BackgroundColor`, which is usually `black`. `hidden off` corresponds to `FaceColor = none`.

## See Also

    shading
    surface object properties FaceColor and EdgeColor

(c) Copyright 1994 by The MathWorks, Inc.