box
box('on')
box('off')
box(visibility)
box(target, ...)
| Parameter | Description |
|---|---|
| visibility | Outline visibility: 'on', 'off', true, false, 1, or 0. |
| target | Target object with a Box property, such as axes, legend, or colorbar. |
box() toggles the outline of the current axes.
box('on') displays the current axes outline.
box('off') hides the current axes outline.
box(target, ...) modifies the outline of the specified target instead of the current axes.
f = figure();
plot(1:10)
box on
| Version | Description |
|---|---|
| 2.0.0 | initial version |