## Macro Command Reference

`arrow <tag> <COOR> <x1> <y1> <x2> <y2> <a1> <a2> <at> <as> [linewidth] [dash] [c] [c] [c]`
`arrow <tag> <COOR> <x1> <y1> <x2> <y2> <a1> <a2> <at> <as> [linewidth] [dash] [COLOR]`

Draw an arrow with the given attributes.
`<tag>`: The `tag` argument should be an integer value which can be used later to address a graphic or text object. Interactively created text or graphic objects always have the tag 0.
`<COOR>`: The coordinate system to which the arrow belongs.
`<x1>`, `<y1>`, `<x2>`, `<y2>`: The start and end position of the arrow in the defined coordinate system.
`<a1>`, `<a2>`: Draw arrow at line start and/or end (possible values: yes/no)
`<at>`: The arrow type (0=open, 1=closed, 2=triangle, 3=double).
`<as>`: The arrow size.
`[linewidth]`: The arrow line width.
`[dash]`: The dash pattern for the arrow (0-15).
`[c] [c] [c]`: The color of the arrow. Dependent on the color mode the three values are RGB or HSB values from 0.0 to 1.0. The color mode can be set with the command `colormode` (0=RGB, 1=HSB). Alternative you can specify the color as hexadecimal string.