GNUFOR : a GNUPLOT / FORTRAN interface

GNUFOR is a simple interface between a FORTRAN program and GNUPLOT. It makes it possible, while running a FORTRAN program, to generate some data and request an immediate plot. This is done by issuing a SYSTEM command that starts up GNUPLOT, and feeding it the appropriate commands and data. The FORTRAN program pauses while the graph is displayed, and the user can admire the plots for a while, before hitting return and giving control back to the FORTRAN program.

It would be very nice to be able to have the FORTRAN program continue execution without waiting for GNUPLOT. In this way, for example, a program that was computing some quantity could, from time to time, display an updated plot of what it was doing. A user could glance at the picture from time to time, while the FORTRAN program merrily computed away. Something like this can be done with the GNUPLOT_I package and a C program.

To use this program, the command "gnuplot" must be in your path. On a computer at ISU that is part of the Vincent system, the easiest way to do this is to issue the command "add gnu".

Files you may copy include:

The list of routines includes:

Return to the FORTRAN software page.


Last revised on 02 March 2001.