#set TITLE = "pie prefab"
#include top

.SH EXAMPLE 
.LP
.ig >>
<img src="../gallery/prefab_img/draw1.gif">
.>>
.LP
.nf
  pl -prefab draw  cmdfile=drawcom.dcm  xrange="0 40"  yrange="0 40"  \\
  rectangle="1 1 3 3"

  The drawcom.dcm file begins like this:
	movs 3.5 23 
	lins 3.5 22 
	lins 3 21.6 
	..etc.
.fi

#include space

.LP
#set FILE = "prefabs.html#examples"
#set TAG = "How to run these examples"
#include link


#include space

.SH DESCRIPTION
\fCdraw\fR is a 
#set FILE = "prefabs.html"
#set TAG = prefab
#include link
for interpreting 
#set FILE = "drawcommands.html#commandset"
#set TAG = "ploticus draw commands"
#include link
\0.  It is intended to be a convenient way to drive ploticus
from other applications and custom programs.


#include space

.SH PARAMETERS

.IP
None of the
#set FILE = "prefab_stdparms.html"
#set TAG = "standard prefab parameters"
#include link
except for \fBrectangle\fR are applicable.

.br
.br
\fBALL of the following parameters must be supplied:\fR
.br
.br
.IP
\fBcmdfile\fR is the name of a file containing 
#set FILE = "drawcommands.html#commandset"
#set TAG = "ploticus draw commands"
#include link
, one per line.
You can also use \fCstdin\fR for draw commands to be read from standard input.

.br
.br
.IP
\fBxrange\fR specifies the range in X.  This should be set so
that all of your draw commands are displayed.
Example: \fC"xrange=0 100"

.IP
\fByrange\fR specifies the range in Y.  This should be set so
that all of your draw commands are displayed.
Example: \fC"yrange=0 100"

.IP
\fBrectangle\fR specifies the size (and location in paginated Postscript)
of the plotting area, in inches.  The values are: leftx bottomy rightx topy.
.br
Example: \fC"rectangle=1 1 7 4"

#include bottom
