|
DISLIN: (LINE) -> (STRTPT, STRTPT)
or
SimplyFortran, AppGraphics: (line) -> (moveto, lineto)
======================================================================
DISLIN: (LINE) -> (STRTPT, STRTPT)
======================================================================
L I N E
LINE joins two points with a line.
Different line styles can be used.
The call is: CALL LINE (X1, Y1, X2, Y2) level 1, 2, 3
X1, Y1 are real numbers containing the plot coordinates of the first point.
X2, Y2 are real numbers containing the plot coordinates of the second point.
----------------------------------------
XMOVE and XDRAW are simple subroutines for plotting lines.
Different line styles can be used.
The calls are: CALL STRTPT (X, Y) level 1, 2, 3
CALL CONNPT (X, Y) level 1, 2, 3
X, Y are real numbers containing the plot coordinates.
======================================================================
SimplyFortran, AppGraphics: (line) -> (moveto, lineto)
======================================================================
line
Fortran subroutine line (x1, y1, x2, y2)
Description
Draws a line using the current color from point (x1,y1) to point (x2,y2).
Parameters
Parameter Fortran Type Description
x1 integer Horizontal coordinate of the start point of the line
y1 integer Vertical coordinate of the start point of the line
x2 integer Horizontal coordinate of the end point of the line
y2 integer Vertical coordinate of the end point of the line
----------------------------------------
moveto
Fortran subroutine moveto (x, y)
Description
Sets the current position to be used with subsequent relative graphics operations.
Parameters
Parameter Fortran Type Description
x integer Horizontal coordinate of the current position
y integer Vertical coordinate of the current position
--------------------
lineto
Fortran subroutine lineto (x, y)
Description
Draws a line from the current position to the point (x, y) using the current color.
The current position is moved to this new offset after the drawing operation.
Parameters
Parameter Fortran Type Description
x integer Horizontal coordinate of the end point of the line
y integer Vertical coordinate of the end point of the line
|
|