This directory contains a test and demo program for the plotter
widget set version V6.0 using OSF/Motif.

	Plot.c          - Test/demo program for the plotter
	*.c             - Motif stuff
	Mplot.ad        - Resource file for mplot
	mplot?.data     - Sample data files (don't change the file format)

- Call 'xmkmf' to create a Makefile from Imakefile or edit and use the
  simple Makefile Makefile.simple

- Call 'make' to create the mplot demo program

- Check, edit if needed and load the ressource file Mplot.ad

The interesting code for programming and using the plotter is contained
in the source file Plot.c.

If mplot is called with the option "-demo" the 3 demo lines are created
and displayed.

Mplot appears showing 5 pulldown menu buttons on the main menu bar:

File ->
	Read data               Read in a mplot data file
	Write postscript        Write PostScript file
	Quit                    Terminate mplot

Plot ->
	Request position        Get position on mouse button one click on/off
	Show position           Show position when moving the mouse on/off
	Zoom                    Drag zoom range and popup zoom window
	Show Legend             Display legend
	Legend Left             Display legend at lhs or rhs of plotting area
	Use Pixmap              Use pixmap or window
Axis ->
	Transform ->            Set axis transformation log/lin
	Round endpoints ->      Round/don't round X, Y axis endpoints
	Show Grid               Display grid
	Show Subgrid            Display subgrid

Line ->                         Sensitive when a line in the legend is selected
	Linewidth ->            Set new line width for selected line plot
	Linetype ->             Set new line type for selected line plots
	Linestyle ->            Set new line style for selected line plot
	Offset                  Add/subtract X/Y offsets to/from selected plot

Help ->
	Version                 Version info
	Copyright               Copyright info
	Author                  Info about the author

When zooming is turnend on pressing mouse button one and dragging the mouse
over the plotting area selects a range of the plotting area which then
appears in a special zoom popup window. When then pressing mouse button two
and dragging the mouse over the plotting area the previously selected
zoom range will be slided over the plotting area and its contents will be
continuously updated and displayed in the zoom window.

The mplot data files are built very simple: the first line contains a
integer value which denotes the number of following (x,y) points,
all other lines contain the x and y values of the line points separated
by a space or a tab.

Most of the Motif stuff was created with the User Interface Builder
Motifation written by Manfred Poepping and Peer Griebel who also are
working at Universitaet-Gesamthochschule Paderborn, Germany.

Peter Klingebiel, Sun Aug 16 12:52:24 1992
