.TH DEFINEUNITS PL "Ploticus data display engine"
 
.ig >>
<center>
<b>Ploticus data display engine</b> <small><a href="Copyright.html">Copyright Steve Grubb</a><br></small><br>
<a href="../doc/Welcome.html"><img src="../gallery/btn/welcome.gif"></a>
<a href="../gallery/index.html"><img src="../gallery/btn/gallery.gif"></a>
<a href="../doc/Contents.html"><img src="../gallery/btn/handbook.gif"></a>
<br><h1>Proc Defineunits</h1>
</center>
.>>

.SH NAME
proc defineunits

.SH DESCRIPTION
\fBproc defineunits\fR may be used to explicitly
set a certain type of scaling unit (such as date or time)
for an axis.
Usually \fBproc areadef\fR takes care of this; however
\fBproc defineunits\fR may be needed in situations where
\fBproc xtab\fR or \fBproc autoscale\fR
are to be invoked before \fBproc areadef\fR, or to
change scaling without setting up a new area.

.SH EXAMPLE
A Gallery example where this is used is
.ig >>
<a href="../gallery/quarters.htm">
.>>
 quarters 
.ig >>
</a>
.>>


.SH MANDATORY ATTRIBUTES
The \fCaxis\fR and \fCunits\fR attributes must be specified.

.SH ATTRIBUTES
.LP
\fBaxis\fR \fCx\fR | \fCy\fR
.IP
The axis to which we are binding a type of scaling unit.

.LP
\fBunits\fR \fIscaleunit\fR
.IP
The type of scaling to be used.
For a list of available scale unit types see 
.ig >>
<a href="scaleunits.html">
.>>
scaleunits
.ig >>
</a>
.>>
.br
Example: \fCunits: yymm\fR
