LIND (Directional line draw with symbols)

The LIND command enables you to draw a line, or chain of lines, based on distance and direction. The LIND command line specifies the starting location and sub-command lines can be used to provide the second and subsequent points on the line based on a distance and angle. The X,Y points are placed in the data buffer. If no X,Y points are specified, the X,Y points in the current data buffer are used.

Command Syntax:

LIND refp,xoff,yoff,att,style,pitch,symb,ssize,satt

dist,direc 

dist,direc 

Command Line Parameters: 

refp

Reference point (0 - 11) from which to refer the following offsets. The default is reference point 0.

xoff,yoff

The X and Y offset from the reference point to start the line

dist,direc

Distance and direction from the last point for each subsequent point on the line. Direction is in degrees counter-clockwise from the positive X axis.

att

Attribute to use.

style

Line Style:

1

Solid (Default).

2

Long dashes.

3

dotted.

4

short dashes

5

long/short/long dashes

6

long/dot/long dash.

If style is negative, smooth line joining is used. The default is a solid line, with straight line joining (+1). Smooth lines are ignored if the clip option is 2.

pitch

Patterned line pitch. The default is 1 cm.

symb

Symbol to mark points on line:

0

No symbol plotted.

1

Dot.

2

+ (plus or cross).

3

x.

4

Box.

5

Triangle.

6

Inverted triangle.

7

Hexagon.

8

Small box.

9

Small diamond.

The default is not to plot a symbol at each point in the line.

ssize

Symbol size. The default 0.25 cm.

satt

Attribute to use for symbols. The default is att 1.

Sub-Command Line Parameters:

Sub-command lines are used to provide distances and directions to subsequent points on the line. Each line may contain one dist,direc pair that defines the next point.

dist, direc

Distance and direction from the current location at which to start the line.

 

Direction is in degrees counter-clockwise from the positive X axis. The default is the current att position

Example
MDFF M1

MOVA 0,2500,2500

LIND 11,0,0,ln=kt300

2500,90 

2500,0 

2500,-90 

2500,-180 

This will draw the same box that was drawn by the LINA example. Note that reference point 11 is used to draw the box.

  • This command is part of the MAPPLOT GX.