XPLOT

Section: User Commands (1)
Updated: 6 Setpember 1990
Index Return to Main Contents
 

NAME

xplot - plot(5) filter for X  

SYNOPSIS

xplot [-toolkitoption ...] [-option ...]  

DESCRIPTION

xplot reads plot(4) commands from its standard input and draws the resulting graphics in an X window. The window is updated after each flush or pipe full of data, and upon end-of-file on the input.

After xplot reaches the end-of-file on the input, it puts itself in the bacground (forks). Control returns to the calling program, while xplot continues, remaining on screen.

To exit, click the left mouse button in the xplot window. Note that xplot ignores SIGHUP signals, so you must use another signal to kill xplot if necessary.  

OPTIONS

Xplot accepts all of the standard X toolkit command line options, and the initial geometry specification determines the resolution, with a default geometry of 500x500 pixels.

The following standard X Toolkit command line arguments may be used with xplot:

-bg color
This option specifies the color to use for the background of the window. The default is white.
-bd color
This option specifies the color to use for the border of the window. The default is black.
-bw number
This option specifies the width in pixels of the border surrounding the window.
-fg color
This option specifies the color to use for displaying text. The default is black.
-fn font
This option specifies the font to be used for displaying normal text. The default is 6x10.
-rv
This option indicates that reverse video should be simulated by swapping the foreground and background colors.
-geometry geometry
This option specifies the prefered size and position of the plot window.
-display host:display
This option specifies the X server to contact.
-xrm resourcestring
This option specifies a resource string to be used.
 

X DEFAULTS

This program uses the Command widget in the X Toolkit. It understands all of the core resource names and classes as well as:

reverseVideo (class ReverseVideo)
Specifies that the foreground and background colors should be reversed.

EXAMPLE
The resources:

Xplot.font: 6x9

Xplot.geometry: 300x300

will set the font used in the plot window to `6x9' and the size of the window to 300 by 300 pixels.

 

SEE ALSO

X(1), plot(4), plot(5), graph(1), axis(1), Athena Command widget  

BUGS

Note that the byte order in the plot(4) file format is architecture dependent in practice. For some simple and/or standard values of plot's space command, the program will automaticly determine the byte order. However, there is no guarantee that plot files are portable across architectures. On some systems, the plottoa and atoplot commands are available and can be used to work around this problem by traslating plot files to and from a portable ascii format.

 

AUTHORS

Arthur Smith (Lassp, Cornell University) <arthur@helios.tn.cornell.edu>

Rich Murphey (ECE, Rice University) <Rich@Rice.edu>


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
X DEFAULTS
SEE ALSO
BUGS
AUTHORS

This document was created by man2html, using the manual pages.
Time: 14:13:15 GMT, November 05, 2024