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 4 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 ->
	Ask position            Get position on mouse button one click on/off
	Get position            Get position when moving the mouse on/off
	Zoom                    Zoom in on/off
	Legend on/off           Display legend on/off
	Legend left/right       Display legend at lhs or rhs of plotting area
	Pixmap on/off           Use pixmap or window
Axis ->
	Transform ->            Set axis transformation log/lin
	Round endpoints ->      Round/don't round axis endpoints
	Grid                    Display grid on/off
	Subgrid                 Display subgrid on/off

Line ->
	Linewidth ->            Set new line width for all line plots
	Linetype ->             Set new line type for all line plots
	Linestyle ->            Set new line style for all line plots

Help ->
	Copyright               Copyright info
	Author                  Info about the author

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, Mon Jul  6 15:43:06 1992
