XPLOT(1G)

NAME
xplot - graphics filter to display plot files under X Windows

SYNOPSIS
xplot [ file1, file2, ... ]

DESCRIPTION
xplot is used by LNKnet and other programs to display plot files under the MIT X Window System. The same software that drives the graphics window in xplot is also used by programs that use the xlippic(3g) subroutines to put graphics on a graphics window under X Windows. The keystroke controls under both uses work the same. When used as a plot filter this program opens up an X Windows window to display the plots and reads modified plot(5) plotting instructions from the standard input or an optional file. All instructions are read from all plot files and stored in memory. This allows a user to move forward and backward among the plot files on the xplot command line. Plotting instructions usually reside in a file with a '.plot' suffix created by lipgraph(1g) , xlippic(3g) , or LNKnet(1) graphics routines. Alternatively, lipgraph(1g) output can be piped directly to xplot.

xplot opens up an Open Windows window, reports the current file name, and waits for a user action to determine what to do next. The following actions are available from single keystroke commands when the mouse cursor is in the xplot window.

USER INTERACTIONS

n - DISPLAY NEXT PLOT
    Press the 'n' key on the keyboard.

p - DISPLAY PREVIOUS PLOT
    Press the 'p' key on the keyboard.

o - OVERLAY PLOTS
    Press the 'o' key on the keyboard. This alternately enables and disables the overlay mode of operation.

c - CLEAR SCREEN
    Press the 'c' key on the keyboard.

q - QUIT
    Press the 'q' key on the keyboard.

h - PRINT SCREEN ON POSTSCRIPT PRINTER
    Press the 'h' key on the keyboard.
    A PostScript version of the plot file is generated using plot2ps. This PostScript file is then printed on the default printer using the "lpr" command. This only works if the printer command used at your site is "lpr". In addition, the plot2ps command must be available to convert plot files to postscript.

BUGS
Extraneous beeps are sometimes created with keyboard commands.

SEE ALSO
olxplot(1g), xlippic(3g), lipgplot(1g), lipiplot(1g), lipgraph(1g), plot2ps(1g), plot(5)

HISTORY
3-Mar-91 Written by Glen Adams to support xlippic(3g) under Sun Open Windows.