curly_bracket

Contents

Syntax

davinci( 'curly_bracket', 'Position', [x y], 'Height', h, 'Width', w )
davinci( ___, 'NPoints', npts )
davinci( ___, 'Rotation', r )
davinci( ___, <StyleParameterName>, styleparametervalue )
h = davinci( ___ )

Description

Draw a curly bracket.

Style Parameters

The table below lists the available style parameters.

Parameter Default Comments
Color 'k' The FaceColor property of the Matlab patch objects, unless the FaceColor property is specified explicitly (see below).
EdgeColor 'none' The EdgeColor property of the Matlab patch objects.
FaceAlpha 1 The FaceAlpha property of the Matlab patch objects.
FaceColor See "Comments". The FaceColor property of the Matlab patch objects. If the FaceColor parameter/value pair is not specified in the call to davinci(), each patch object's FaceColor property is set to the value of the Color parameter/value pair, which as shown above defaults to 'k'.
FaceVertexAlphaData[] The FaceVertexAlphaData property of the Matlab patch objects.
FaceVertexCData [] The FaceVertexCData property of the Matlab patch objects.
LineStyle '-' The LineStyle property of the Matlab patch objects.
LineWidth 0.5 The LineWidth property of the Matlab patch objects.

Examples

EXAMPLE #1 -- DRAW A SIMPLE BRACKET.

davinci( 'curly_bracket', 'Position', [3 10], 'Height', 3, 'Width', 30 );
daspect( [1 1 1] )   % Set the aspect ratio at 1:1.

EXAMPLE #2 -- MISCELLANEOUS BRACKETS.

The code to draw the examples below is here.

Copyright 2015-2017, Leonard R. Wayne, Washington, District of Columbia, United States of America. ALL RIGHTS RESERVED.