Arrow

Arbitrary arrows can be placed on the plot using the set arrow command.

Syntax:

         set arrow {tag} {from sx,sy} {to ex,ey}
         set noarrow {tag}
         show arrow

Curly braces {} denote optional items. All positions x,y default to 0,0. The x and y values are in the graph's coordinate system. The tag is an integer that is used to identify the arrow. If no tag is given, the lowest unused tag value is assigned automatically. The tag can be used to delete or change a specific arrow. To change any attribute of an existing arrow, use the set arrow command with the appropriate tag, and specify the parts of the arrow to be changed. Arrows outside the plotted boundaries are permitted but may cause device errors; use at your own risk.

Examples:

To set an arrow pointing from the origin to (1,2) use

         set arrow to 1,2
To set an arrow from (-10,4) to (-5,5), and tag the arrow number 3, use:
         set arrow 3 from -10,4 to -5,5
To change the preceding arrow begin at 1,1, use
         set arrow 3 from 1,1
To delete arrow number 2 use:
         set noarrow 2
To delete all arrows use:
         set noarrow
To show all arrows (in tag order) use:
         show arrow