\input grafix		% define grafix macros
Examples of \noindent$\backslash$ grafix and $\backslash$ grafixnobox macros
		to embed filename etc. into
		output .DVI file in a form that QPOST understands.
		Copied from Talaris 'Appendix B' in QDRIVE documentation.
		Modified for Belonis' QPOST postprocessor to
		put a special string and 5 parameters each terminated with
		comma at upper left corner of outline box.
\hfill\vbox to 0pt{\grafixnobox 1.0in,2in,vectorrub,{overlay.qms},1 }
% Zero points high so acts like an overlay hanging down from above paragraph
% with \hfill pushing to right edge.

\noindent Calling sequence:\hfill\break
$\backslash$ grafix vertical\_size,horizontal\_size,overlay\_type,$\{$file-spec$\}$,page\hfill\break
$\backslash$ grafixnobox  (plot included without surrounding box)\hfill\break

\noindent Example of use:\hfill\break
	$\backslash$ grafix 1.0in,2in,vectorrub,$\{$overlay.qms$\}$,1  \hfill\break
	reserves 1.0 inch vertical by 2 inch horizontal area for vector plot
	from page 1 of plot file OVERLAY.QMS\hfill\break

\noindent Note:\hfill\break
	page number is ignored (always uses 1st page of plot file)\hfill\break

\noindent After you have a .QMS file from QTEX and .QMS files from
the plotting package (the following plots were done with the PL package),
you run the QPOST program to combine the files.\hfill\break
QPOST~~filename~~~~~~~~~~~outputs QMSPfilename.POST\hfill\break
Finally,\break
LASER~~QMSPfilename.POST~~~~(or PRINT/QUEUE=LASER~~QMSPfilename.POST)\hfill\break
will send the TeX output to the laser printer including the scaled and
positioned plot(s).  I use that particular filename for accounting purposes.

This plot was included in an area 4 centimeters high by 7.1 inches across
using the \hbox{$\backslash$grafix}~macro with `vectorrub' overlay type
which scales width and height to completely fill the reserved area.

\hbox to \hsize{\hss\grafix 4cm,7.1in,vectorrub,{overlay.qms},1\hss}

This is a paragraph between the plots.
The following is the
same plot included in an area 140 points high by 3 inches across using the
\hbox{$\backslash$grafixnobox~macro} with `vector' type overlay preserving
the height$/$width ratio.

% note: only need left \hfil to center since there is an effective \hfil on right
% for unknown reason
\hfil\hbox{\vbox to 140pt{\vfill\hsize=2.0in \tolerance=1600 %sloppy spacing ok
            \noindent Hi there.
            This is your explanatory note potentially describing the
            graph and showing the generality of positioning.
            The $\backslash$grafix macros can be positioned like any
            $\backslash$vbox.
            \vfill}
      \grafixnobox 140pt,3in,vector,{overlay.qms},1
      }

This is some more text after the second plot, I hope it all fits on one page.
\vfill
\bye
