XYP8: a statistical plotting program
      bivariate scatter plots and histograms with statistics
      output to selected graphics boards
      hard copy on HP plotters and PostScript Laser printers
      command driven; for command syntax see HELPXYP8

Copyright (c) 1988 by Peter N. Schweitzer.  All rights reserved.
Portions Copyright (c) 1985,1987 by Microsoft Corporation
(compiled using Microsoft Fortran77 v3.31, linker v3.60)

1. Caveat Emptor.  I assume no liability for use or misuse of this program.
2. Feel free to distribute complete copies of this diskette to your friends.
4. Let me know if you have problems or find bugs. pschweitzer@usgs.gov

 Index of files on this diskette
-------------------------------------------------------------------------------
SEND.BAS          sends HPGL files to COM1:9600,n,7,1
HGRAM.CMD         command file for histogram demonstration
OSTRACOD.CMD      command file for scatter plot demonstration
OXYGEN.CMD        command file for downcore plot demonstration
RANDOM.CMD        command file for scatter plot demonstration
OXYGEN.DAT        data file for oxygen demo
RANDOM.DAT        data file for random demo
EDU.XU            data file for ostracode demo
NBU.XU            data file for ostracode demo
HGRAM.DAT         data file for histogram demo
HELPXYP8.EXE      Help for command syntax
PLOT.EXE          sends HPGL files to COM1:9600,N,7,1
T.EXE             filters WordStar documents
HORIZ.PLT         HP plotter coordinate map, Landscape orientation
VERT.PLT          HP plotter coordinate map, Portrait orientation
HORIZ.PS          PostScript coordinate map, Landscape orientation
VERT.PS           PostScript coordinate map, Portrait orientation
XYP8.EXE          The program
-------------------------------------------------------------------------------

COMMANDS

These programs operate on commands that you enter from the console.  The
command prompt is an asterisk (*).  You can put your commands into a
text file and have the program read those commands by using the CFIL
command; see HELP>CFIL in HELPXYP8.

Only the first four letters of a command are significant.
Commands may be in upper or lower case or a combination.
Unknown commands are ignored.

HELP

When you ask for HELP (by entering the command HELP at the * prompt),
the program tries to run HELPXYP8 as a child process.  This can fail if
there is not enough memory left, if it cannot find HELPXYP8.EXE, or if
it cannot find COMMAND.COM.  You can always run HELPXYP8 from the DOS
command line.

DEMONSTRATIONS

Just type DEMO at the system prompt C> and watch what happens. Then
study the command files OSTRACOD.CMD, OXYGEN.CMD, RANDOM.CMD, and
HGRAM.CMD to figure out how I made it do these things.  Go ye and do
likewise.

If you are using a DOS version less than 3.0, the DEMO batch file won't
work.  Invoke XYP8, then type CFIL OSTRACOD.CMD at the * prompt.

SCREEN GRAPHICS

Remember that in order to PREView a plot on screen, you must have the
appropriate hardware (graphics card).  If you don't have the right
setup, you won't see a plot.  In the unlikely event that XYP8 does not
recognize your graphics card, use the command SET (see HELPXYP8) to
determine how to use it.

PLOTTER OUTPUT

The plotter output is produced by the PLOT command.  When you invoke it,
the program creates a file of HPGL code on disk.  You then send the HPGL
file to your plotter over the RS232 serial line.  This can be done with
PLOT.EXE or SEND.BAS,  in which case the plotter should be set up to
communicate at 9600 baud with no parity, 8 data bits, and one stop bit.

HPGL code generated assumes you have an HP7475a, HP7440, or compatible.
Some of the code will be incompatible with the older HP7470a.  For more
details, run HELPXYP7 and look up PLOT.

LASER PRINTER OUTPUT

PostScript is the only laser printer language supported.  This means
that the plots can be printed on the Apple LaserWriters but not HP
LaserJet printers.

The laser printer output is produced by the LASEr command.  When you
invoke it, the program creates a file of PostScript code on disk.  You
then send this file to the printer.  You must modify the PostScript file
so that the showpage command near the end of it is activated.  I made it
a comment (by putting a percent sign before it %) so that you can print
several graphs on one piece of paper.  In that case, you should only
activate the showpage command in the last file you print.  See
HELP>LASER for details.  You may also need to put a Control-D at the
very end of the file in order to produce your plot.

