LINA (Absolute line draw with symbols)

The LINA command can be used to provide the second and subsequent points on the line. The X,Y points are placed in the data buffer. If no X,Y points are specified, LINA uses the X,Y points in the current data buffer.

Command Syntax:

LINA refp,xoff,yoff,att,style,pitch,symb,size,satt

x,y 

Command Parameters: 

refp

Reference point from which to refer the following offsets. The default is reference point 0.

xoff,yoff

Point at which to start line. The default is the current att position.

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

size

Symbol size. The default is 0.25 cm.

satt

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

Sub-Command Lines:

x,y

Sub-command lines are used to provide subsequent points on the line. Each sub-command line may contain one x,y pair that defines the next point. All points are placed in the current data buffer.

Example:
MDFF M1

LINA 0,2500,2500,2,3,8,4,2.5,3

This command will draw a square box at x=2500, y=2500. The data buffer now contains the coordinates that define the box.

  • This command is part of the MAPPLOT GX.