The application plotmtv is a fast multi-purpose plotting program for visualization of scientific data in an X11-window environment. It accepts the MTV Plot Data Format and provides the following display capabilities:
3D Curves (Connected sets of (x,y,z) points in 3-space)
3D Contour Curves (3D triangles/rectangles to be contoured)
3D Rectangular mesh data (z-values on a rectangular xy-grid)
4D Volumetric data (A field variable on a rectangular xyz-grid)
2D/3D Vector data (Vectors in 2-space/3-space)
The application plotmtv and supporting documentation are available here. (You may also wish to check anonymous ftp at mcsun.eu.net to see if there is an even newer version.)
Plotmtv is run from the command line and has the following command line options:
plotmtv [-Pprinter] [-3d] [-colorps] [-debug] [-l] [-nodate] [-nopixmap] [-noxplot] [-pfg foreground color] [-pbg background_color] [-plotall] [-print] [-printcmd command][-scale scale] [-v] datafile1 datafile2...
A complete description of all of the command line options can be found in the plotmtv man page. Some of the more frequently used flags are:
-colorps Instructs the PostScript rendereer to include colors in the description of the plot.
-nodate Suppresses the printing of time and date stamp on PostScript hardcopy.
-l(andscape) Prints the PostScript plot in landscape (rotated) mode.
-pfg foreground_color Specifies a preferred foreground color (e.g. WHITE, GREEN).
-pbg background_color Specifies a preferred background color (e.g. RED, YELLOW).
-plotall Plots all the data sets found in a single file.
If no command line options are invoked, the simplest use of plotmtv would be as follows:
where file.dat is a data file in the MTVDAT format. Most of this quick start document will focus on examples of creating data files in MTVDAT format.
A file in MTVDAT format consists of command lines (beginning with a $); instruction lines (beginning with a %); comment lines (beginning with a #) ; annotation lines (beginning with an @); and data lines (beginning with a data value, i.e. a number). These data set descriptors are summarized in Table 1.
Table 1 MTVDAT Special Line Identifiers
Both command and instruction lines consist of