Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

graph(1g)

plot(1g)

plot(3x)

plot(5)

plot(3f)  —  RISC

NAME

openpl, erase, label, line, circle, arc, move, cont, point, linemd, space, clospl, box − f77 library interface to plot(3x) libraries. 

SYNTAX

subroutine openpl()

subroutine erase()

subroutine label(str)
character str*(*)

subroutine line(ix1, iy1, ix2, iy2)

subroutine box(ix1, iy1, ix2, iy2)

Draw a rectangle and leave the cursor at ( ix2,iy2).

subroutine circle(ix, iy, ir)

subroutine arc(ix, iy, ix0, iy0, ix1, iy1)

subroutine move(ix, iy)

subroutine cont(ix, iy)

subroutine point(ix, iy)

subroutine linemd(str)
character str*(*)

subroutine space(ix0, iy0, ix1, iy1)

subroutine clospl()

DESCRIPTION

These functions are interface subroutines, in the library −lf77plot, allowing f77 users to call the plot() graphics routines which generate graphic output in a relatively device-independent manner. The f77 subroutine names are the same as the C function names except that linemod and closepl have been shortened to linemd and clospl .  See plot() and plot() for a description of their effect.

Only the first 255 character in string arguments to label and linemd are used. 

This library must be specified in the f77() command before the device specific graphics library; for example, to compile and load a FORTRAN program in prog.f to run on a Tektronix 4014 terminal:

f77 prog.f -lf77plot -l4014

See plot() for a complete list of device specific plotting libraries.

SEE ALSO

graph(1g), plot(1g), plot(3x), plot(5)
 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026