|
|
1.1 root 1: .TI F77/PLOTTING "Sep. 15, 1984"
2: Plotting and Graphics
3:
4: The Fortran callable graphics routines are described in "man 3f plot".
5: These are primitive routines for plotting points, lines, arcs,
6: and text. They are designed to work with graphics terminals.
7:
8: From Fortran, printer plots can be made using several IMSL subroutines
9: in chapter U of the IMSL manual. Those routines print horizontal
10: and vertical histograms and graph functions.
11:
12: The UNIX graph command (see "man 1g graph") reads data from a file to
13: plot points and lines and can be used with the same
14: devices as the basic plotting routines mentioned above.
15:
16: S, a statistical package available on some UNIX systems,
17: includes some graphics capabilities.
18:
19: One way to use graph or S is to run the Fortran program
20: writing the output to a file and then run the graphics package.
21: The graphics packages can also be run reading the output of the
22: Fortran program from a pipe.
23: Another way is to call the package at appropriate times during
24: the execution of the Fortran program using the subroutine system(), as in:
25:
26: .nf
27: open(8,file='plotin')
28: ... code writing to file plotin
29: close(8)
30: call system('graph plotin | plot -T4014')
31: .fi
32:
33: For up to date information on graphics facilities, see the consultants.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.