xplot(1)

SYNOPSIS
xplot [ file ]

DESCRIPTION
DEPRECATED. Future packet shell releases will not ship xplot. Plotting is now done using the BLT library routines.

Xplot is a command-line driven interactive function plotting utility. It was intended as a graphical program which would allow scientists and students to visualize mathematical functions and data. Xplot supports the X11 Window system and the Postscript format for snapshots.

You will get one window for each input file. Xplot was written to make it possible to zoom in on the data. Most people who use xplot write awk or perl scripts to convert their data into a form suitable for input into xplot.

There isn't much documentation other than the sourcecode. Xplot was written by Tim Shepard while doing his S.M. thesis "TCP Packet Trace Analysis" for David Clark at the MIT Laboratory for Computer Science.

How to drive the mouse

Drag a rectangle with the left mouse button to zoom in. Click the left mouse button to pop the zoom stack.

Drag with the middle mouse button to scroll.

Zooming or scrolling below the x axis zooms or scrolls only in the x direction. Similarly, zooming or scrolling to the left of the y axis zooms or scrolls only in the y direction.

Clicking the left button while SHIFT is pressed causes xplot to drop a postscript file in the current directory. The title is used as the first part of the filename if there has been a title plot command. Otherwise, "xplot" is used. The file ends in PS.# where # is a serial number. Xplot is careful not to write over a previously dumped postscript file, and # is incremented until an unused filename is found.

Clicking the middle button while SHIFT is pressed similarly causes xplot to drop a postscript file, but this will be scaled suitably to allow the figure to be included in a document. You might have to fiddle with the constants in emit_PS() and recompile to get the figure sized the way you want it.

If you didn't like the size of the figure produced by SHIFT-Middle, clicking the right button while SHIFT is pressed will produce a postscript plot just like the middle button, but it will take less vertical space. Again, you can fiddle with the constants in emit_PS() and recompile if you don't like these sizes.

SEE ALSO
tcp.analysis(1).