Purpose
Add
an arrow to an existing plot.
Synopsis
procedure IVEdrawarrow(handle: integer, x1: real, y1: real, x2: real, y2: real)
Arguments
handle
|
The number returned by IVEaddplot.
|
x1
|
The x coordinate of the first point.
|
y1
|
The y coordinate of the first point.
|
x2
|
The x coordinate of the second point.
|
y2
|
The y coordinate of the second point.
|
Example
The following adds two arrows to a plot named `thetime'. The arrows suggest three o'clock:
declarations
arrows: integer
end-declarations
arrows:=IVEaddplot("thetime", IVE_BLACK)
IVEdrawarrow(arrows, 0, 0, 0, 5)
IVEdrawarrow(arrows, 0, 0, 4.5, 0)
IVEzoom(-5, -6, 5, 6)
Further information
The arrow connects the two points whose coordinates are given as parameters, pointing to the second one.
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.