Curly brace annotation

version (1.9 KB) by Pål Næverlid Sævik
Draws curly brace on current figure


Updated 22 Oct 2012

View License

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.

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

Cite As

Pål Næverlid Sævik (2022). Curly brace annotation (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!