MATLAB Function Reference Previous page   Next Page
Annotation Doublearrow Properties

Modifying Properties

You can set and query annotation object properties using the set and get functions and the Property Editor (displayed with the propertyeditor command).

Use the annotation function to create annotation objects and obtain their handles.

Annotation Doublearrow Property Descriptions

Properties You Can Modify

This section lists the properties you can modify on an annotation doublearrow object.

Color                        ColorSpec Default: [0 0 0]

Color of the doublearrow. A three-element RGB vector or one of the MATLAB predefined names, specifying the arrow color.

See the ColorSpec reference page for more information on specifying color.

Head1Length                  scalar value in points

Length of the first arrow head. Specify this property in points (1 point = 1/72 inch). See also Head1Width.

The first arrow head is located at the end defined by the point x(1), y(1). See also the X and Y properties.

Head2Length                  scalar value in points

Length of the second arrow head. Specify this property in points (1 point = 1/72 inch). See also Head1Width.

The first arrow head is located at the end defined by the point x(end), y(end). See also the X and Y properties.

Head1Style                   select string from list

Style of the first arrow head. Specify this property as one of the strings from the following table

Head2Style                   select string from list

Style of the second arrow head. Specify this property as one of the strings from the following table.

Head Style String
Head
Head Style String
Head
none

star4

plain

rectangle

ellipse

diamond

vback1


rose

vback2 (Default)

hypocycloid

vback3

astroid

cback1

deltoid

cback2



cback3



Head1Width                   scalar value in points

Width of the first arrow head. Specify this property in points (1 point = 1/72 inch). See also Head1Length.

Head2Width                   scalar value in points

Width of the second arrow head. Specify this property in points (1 point = 1/72 inch). See also Head2Length.

LineStyle                    {-} | -- | : | -. | none

Line style. This property specifies the line style of the doublearrow stem. Available line styles are shown in the following table.

Specifier String
Line Style
-
Solid line (default)
--
Dashed line
:
Dotted line
-.
Dash-dot line
none
No line

LineWidth                    scalar

The width of the arrow stem. Specify this value in points (1 point = 1/72 inch). The default LineWidth is 0.5 points.

X                            vector [Xbegin Xend]

X-coordinates of the beginning and ending points for doublearrow. Specify this property as a vector of x-axis (horizontal) values that specify the beginning and ending points of the doublearrow, units normalized to the figure.

Y                            vector [Ybegin Yend]

Y-coordinates of the beginning and ending points for doublearrow. Specify this property as a vector of y-axis (vertical) values that specify the beginning and ending points of the doublearrow, units normalized to the figure.


Previous page  Annotation Arrow Properties Annotation Ellipse Properties Next page

© 1994-2005 The MathWorks, Inc.