#set TITLE = "proc defineunits"
#include top

.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 tabulate\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

#include bottom
