TTYPLT
Typewriter Graphics Routines
TTYPLT
is a FORTRAN77 program which
produces simple typewriter graphics plots.
TTYPLT includes the primary routines:
-
DOTPLT, produces a 'dot plot' corresponding to (X,Y) pairs.
-
GRDPLT, produces a grid corresponding to a
given network of points connected by lines.
-
GRAFUN, produces a gray scale plot
of a quantity Z(X,Y), where Z is defined
by a user supplied subroutine.
-
GRARAY, similar to GRAFUN, but Z is defined by
an input array of values.
-
GRAVEC, similar to GRAFUN, but Z is defined by
an input vector, requiring less storage
than GRARAY. Repeated calls to GRAVEC
can produce a two-dimensional plot like
that produced by GRAFUN or GRARAY.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Languages:
TTYPLT is available in
a FORTRAN77 version.
Related Data and Programs:
ANYPLT,
a FORTRAN77 library which
served as a generic interface between FORTRAN90 programs and various
graphics output devices and files.
DISLIN,
FORTRAN77 programs which
illustrate the use of DISLIN, a scientific graphics package.
GNUFOR,
a FORTRAN90 library which
provides an interface to the GNUPLOT graphics library.
GNUPLOT_I,
a C library which
allows an executing C or FORTRAN program to interact with the GNUPLOT graphics program.
Source Code:
Examples and Tests:
List of Routines:
-
DO_BACK fills in the background.
-
DO_GRID places grid lines and axis ticks on the graphics line.
-
DOTPLT makes an (X,Y) "dot plot" based on lists of X and Y values.
-
GETSCL prints out the gray scaled used in contour plots.
-
GRAFUN makes a grayscale plot of Z(X,Y), data from subroutine.
-
GRARAY makes a grayscale plot of Z(X,Y), data from array.
-
GRAVEC makes a grayscale plot of Z(X,Y), data from vector.
-
GRDPLT plots a collection of line segments.
-
ICROSS determines the X coordinate where a line has a given Y coordinate.
-
NTOR maps an integer to a real.
-
R4_HUGE returns a "huge" R4.
-
R4MAT_MAX returns the maximum entry of an R4MAT.
-
R4MAT_MIN returns the minimum entry of an R4MAT.
-
RTON maps a real to an integer.
-
SETBAK sets the value of the background character.
-
SETDEF sets all internal configuration data to default values.
-
SETGRA sets the gray scale.
-
SETIGR sets the value of IGRID.
-
SETLET sets the letters used to mark horizontal, vertical and slanted lines.
-
SETMAR resets the left plot margin.
-
SETNOD sets the character used to mark data values in dot plots.
-
SETREG
-
SETWIN
-
TIMESTAMP prints out the current YMDHMS date as a timestamp.
You can go up one level to
the FORTRAN77 source codes.
Last revised on 21 May 2008.