McIDAS User's Guide
Version 2010.2

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]


PLOT

Draws lines on the image/graphic display.


Syntax

PLOT line, element, color, frame, width


Parameters

line

frame line coordinate value (no default)

element

frame element coordinate value (no default)

color

graphics color level (no default)

frame

graphics frame to write on (default=current)

width

line width (default=1)


Remark

Each PLOT command draws a line from the previous location to the specified coordinates. Specifying zero for color does not draw a line although it does change the location.


Examples

PLOT 100, 200, 0

This example establishes the drawing position at line 100, element 200 on the current frame.

PLOT A, B, 1, 3

This example draws a line from the previous position to the line/element coordinates specified in the variables A and B, respectively. The line is drawn in graphics color level 1 on frame 3.

PLOT A, A+3, 2

This example draws a line in graphics color level 2 from the previous position to a new line coordinate in the variable A, and an element coordinate equal to A plus 3.

PLOT 1, 1, 0

This example moves the starting coordinate to the upper-left corner of the frame.


[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]