Skip to content

hidden

plot · scripts/plot/appearance/hidden.m

: hidden
: hidden on
: hidden off
: mode = hidden (…)

Switch hidden-line removal for mesh plots on or off.

With no argument the current setting is flipped; "on" or "off" sets it directly. The output mode reports the setting after the call.

When removal is on, which is the default, a mesh hides whatever lies behind it. When it is off the gaps between the grid lines are transparent, so objects behind the mesh show through, while the grid lines themselves still cover what is behind them.