Curly brace annotation

Draws curly brace on current figure

You are now following this Submission

DRAWBRACE Draw curly brace on current figure
DRAWBRACE([X1, Y1], [X2, Y2]) draws a curly brace from the point [X1,
Y1] to the point [X2, Y2]

DRAWBRACE([X1,Y1], [X2,Y2], W) draws a brace using the brace width W.

DRAWBRACE(..., 'Param1', 'Value1', 'Param2', 'Value2') draws a brace
using the LineSeries property values specified by 'Param1'/'Value1',
'Param2'/'Value2', ... .

H = DRAWBRACE(...) returns the LineSeries handle to the brace.

Example:
H = drawbrace([0 0], [1 1], 20, 'Color', 'k')

Cite As

Pål Næverlid Sævik (2026). Curly brace annotation (https://www.mathworks.com/matlabcentral/fileexchange/38716-curly-brace-annotation), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0