FUNCTION REFERENCE
box
Show or hide the axes box outline.
Show or hide the axes box outline.
Syntax
box onSyntax
box offSyntax
boxSyntax
box(ax, 'on')box on draws the full outline: all four edges in 2-D, the outline of the three back planes in 3-D (BoxStyle 'back'). box off keeps the bottom x and left y axis lines (3-D: the three axis lines). With no argument it toggles the current axes; ax selects another axes. The state is the axes Box property: get(gca,'Box'), set(gca,'Box','off').
Example
plot(1:3); box off % only the left and bottom axis linesDifferences from MATLAB: Axes made by plotting commands (and new axes) start with Box on, the historical MatRust frame; in MATLAB a bare axes, or plot after hold on, starts with Box off. BoxStyle 'full' and ClippingStyle are not supported yet.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.