Code covered by the BSD License  

Highlights from
Curly brace annotation

4.5

4.5 | 4 ratings Rate this file 27 Downloads (last 30 days) File Size: 1.9 KB File ID: #38716
image thumbnail

Curly brace annotation

by

 

Draws curly brace on current figure

| Watch this File

File Information
Description

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')
    

Required Products MATLAB
MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
22 Oct 2014 Philippe

Very useful!

01 May 2014 Monica  
25 Feb 2014 Hannu K

Thanks for the nice submission.

Add the possibility to give z-coordinates as well to produce 3d braces and I'll upgrade to 5 stars.

27 Oct 2013 hu

Hi,

I was using your drawbrace function and it is very useful, can you also implement a parameter to control the height of the curly brace?

Thanks.

Contact us