box
Display axes outline
Description
box on
displays the box outline around the current axes by setting its
Box
property to "on"
. This property
value is the default for GeographicAxes
objects.
box off
removes the box outline around the current axes by setting its
Box
property to "off"
. This property
value is the default for Axes
and
PolarAxes
objects.
box
toggles the display of the box outline.
Examples
Input Arguments
Tips
Some Cartesian axes properties affect the appearance of the box outline. This table lists a subset of axes properties related to the box outline.
Axes Property Description Box
Display of box outline BoxStyle
Style of box outline XColor
,YColor
,ZColor
Box outline color in the x-axis, y-axis, and z-axis directions LineWidth
Width of box outline, tick marks, and grid lines Some polar axes properties affect the appearance of the outline around the polar axes. If you are working with polar axes, then the
box
command controls the outline display when the theta-axis limits do not span 360 degrees. This table lists a subset of polar axes properties related to the outline.PolarAxes Property Description Box
Display of full outline RColor
,ThetaColor
Outline color LineWidth
Width of outline, tick marks, and grid lines Some geographic axes properties affect the appearance of the box outline. This table lists a subset of geographic axes properties related to the box outline.
GeographicAxes Property Description Box
Display of box outline AxisColor
Color of outline, tick values, and labels LineWidth
Width of box outline, tick marks, and grid lines
Algorithms
The box
function sets the Box
property of the Axes
, PolarAxes
, or GeographicAxes
object to either "on"
or
"off"
.
Version History
Introduced before R2006a