Draws a line from the current cursor position to the specified point.
DLNABS(x, y, color, style)
x |
- |
A real. The X coordinate of the line segment. |
||||||||
y |
- |
A real. The Y coordinate of the line segment. |
||||||||
color |
- |
An integer. The color value. Defaults to the color of the primary series. |
||||||||
style |
- |
An integer. The line style parameter:
|
gsin(100,0.01);dptabs(0.2,-1,-1);dlnabs(0.3,-1,seriesred);dlnabs(0.25,0,seriesred);dlnabs(0.2,-1,seriesred)
draws a red triangle with origin (-0.2, -1) and connecting the three (x, y) pairs.
The coordinates are in "absolute" or "world" coordinates, the coordinates of the data displayed in the Window. The style parameter controls how the line is drawn.
DLNABS also sets the origin of subsequent drawing commands to the endpoint of the line.
See DPTABS to set the origin of line drawing commands.
Unlike LINECUR, DLNABS must be part of the Window formula to have an effect.