Skip to content

brush

matlab_compat · scripts/matlab_compat/brush.m

BRUSH  Interactively mark data values in a chart (MATLAB R2026a parity).

 BRUSH ON turns brushing on for the current figure.
 BRUSH OFF turns it off.
 BRUSH toggles the mode.
 BRUSH(COLOR) sets the brush colour (ColorSpec) without changing enable.
 BRUSH(FIG,___) applies the command to figure FIG (or an axes in FIG).
 B = BRUSH / B = BRUSH(FIG) returns the figure's brush mode object.

 Mode object properties (get/set): Enable, Color; FigureHandle is get-only.

 See also LINKDATA, LINKAXES, PAN, ZOOM, DATACURSORMODE.