set TITLE = "proc axis (xaxis or yaxis)"
.ig >>
<STYLE TYPE="text/css">
<!--
        A:link{text-decoration:none}
        A:visited{text-decoration:none}
        A:active{text-decoration:none}
        OL,UL,P,BODY,TD,TR,TH,FORM { font-family: arial,helvetica,sans-serif;; font-size:small; color: #333333; }

        H1 { font-size: x-large; font-family: arial,helvetica,sans-serif; }
        H2 { font-size: large; font-family: arial,helvetica,sans-serif; }
        H3 { font-size: medium; font-family: arial,helvetica,sans-serif; }
        H4 { font-size: small; font-family: arial,helvetica,sans-serif; }
-->
</STYLE>
<title>ploticus: @title</title>
<body bgcolor=D0D0EE vlink=0000FF>
<br>
<br>
<center>
<table cellpadding=2 bgcolor=FFFFFF width=550><tr>
<td>
  <table cellpadding=2 width=550><tr>
  <td><br><h2>@TITLE</h2></td>
  <td align=right>
  <small>
  <a href="../doc/welcome.html"><img src="../doc/ploticus.gif" border=0></a><br>
  Version 2.30
     </small><br><a href="../doc/scripthome.html">Scripts</a>
  <td></tr></table>
</td></tr>
<td>
<br>
<br>
.>>

.TH @TITLE PL "27-AUG-2004   PL ploticus.sourceforge.net"

.ig >>
<center><a href="../gallery/simple2annot.htm"><img src="../gallery/simple2annot.gif" border=0></a></center>
.>>

.LP
\fBproc xaxis \fR generates an X axis.
\fBproc yaxis \fR generates a Y axis.
Both procs use the same attributes and underlying code, and operate in the 
same general way.
.LP
A typical axis includes a line, some number of regularly placed
short line marks called \fBtics\fR and some \fBstubs\fR (incremental numeric, or text)
which populate the axis.
The axis also can have a descriptive text \fBlabel\fR nearby, often describing the
axis units.  Grid lines or shaded blocks may also be generated.
.LP
\fBproc xaxis\fR and \fBproc yaxis\fR may be invoked directly, and may be invoked
more than once for a given plotting area to render multiple or overlaid axes.
Or, axis attributes may be specified from within 
.ig >>
<a href="areadef.html">
.>>
\0proc areadef
.ig >>
</a>
.>>
using \fCxaxis.\fR or \fCyaxis.\fR prefixes on the attribute names.
.LP
See also the 
.ig >>
<a href="../gallery/gall.sa.html">
.>>
\0gallery scaling and axis examples.
.ig >>
</a>
.>>

.ig >>
<br><br><br>
.>>

.SH Attributes
There are no mandatory attributes.
An axis can be generated with any combination of stubs, tics, and/or axis line.
To generate a basic numeric axis using an automatically determined increment, use
\fCstubs: inc\fR


.ig >>
<br><br><br>
.>>

.SH Stubs
Stubs are what we call the incremental numbers or text tags that populate an axis.
The \fBstubs\fR attribute controls the contents of 
the stubs, and there are several mode variants described below.  \fBUse one of the following:\fR

.LP
\fBstubs  inc\fRremental
.ig >>
&nbsp; &nbsp;
.>>
[\fIh\fR] 
.ig >>
&nbsp; &nbsp;
.>>
[\fIunits\fR]
.IP \0
Generate incremental stubs for numeric, date or time data.
A stub will be generated and placed at every \fIh\fR units.
If you're plotting numeric data the
\fIh\fR and \fIunits\fR may both be omitted causing a reasonable
default increment to be used (an \fIh\fR value of 0 has the same effect).
For date or time data \fIh\fR and \fIunits\fR must be specified.
.br
Example: \fCstubs: inc\fR .. place stubs using automatically determined increment 
.br
Example: \fCstubs: incremental 10\fR  ..place stubs every 10 units.
.br
\fIunits\fR allows flexibility with stub increments.
The following table illustrates some possibilities:
.ig >>
<a name=stubunits></a>
.>>
.nf
.ft C
scaletype  h units          result
---------  -------------    ------------
linear     1 1000           one stub every 1000, 
				stubs expressed in # of thousands
linear     1 0.01           one stub every 0.01, 
				stubs expressed in # of hundredths
date       1 		    one stub per day
datetime   1 		    one stub per day
datetime   1 hour	    one stub per hour
datetime   10 minutes	    one stub every 10 minutes
date       1 month	    one stub per month
date       3 months	    one stub every three months
date	   1 year           one stub every year
time       20 minutes       one stub every 20 minutes
time       1 hour           one stub every hour
.ft R
.fi
See
.ig >>
<a href="scaleunits.html">
.>>
\0scaleunits
.ig >>
</a>
.>>
for more info on \fIunits\fR.


.ig >>
<br><br>
.>>

.LP
\fBstubs  usecategories\fR 
.IP \0
If the scaletype for the axis is \fCcategories\fR, this
indicates that the defined category names should be
used as the stubs.  Implies self-locating.

.ig >>
<br><br>
.>>

.LP
\fBstubs  text\fR  
.ig >>
&nbsp; &nbsp;
.>>
.ig >>
<a href="attributetypes.html#text">
.>>
\0multi-line text
.ig >>
</a>
.>>
.IP \0
Indicates that subsequent lines of the script contain 
literal stub text, with one line per stub, and 
terminating with a blank line.
.br
Example:
.nf
.ft C
stubs:  text
	New York
	Atlanta
	Detroit
	Baltimore
.fi
.ft R

.ig >>
<br><br>
.>>

.LP
\fBstubs  list \fR
.ig >>
&nbsp; &nbsp;
.>>
.ig >>
<a href="attributetypes.html#text">
.>>
\0text
.ig >>
</a>
.>>
.IP \0
Same as \fCstubs  text\fR except that all stubs are given on one
line, with individual stubs separated by \fC\\n\fR.
.br
Example: \fCstubs:  list  New York\\nDetroit\\nBaltimore\fR

.ig >>
<br><br>
.>>

.LP
\fBstubs  file  
.ig >>
&nbsp; &nbsp;
.>>
\fIfilename\fR 
.IP \0
Same as \fCtext\fR except that content is to be 
taken from \fIfilename\fR.
.br
Example: \fCstubs:  file  /home/myplots/stubs2\fR
.br
Note that an alternative way to accomplish this is:
.nf
   stubs: text
\0  #include  \fIfilename\fR
.fi

.ig >>
<br><br>
.>>

.LP
\fBstubs  datafields=\fR
.ig >>
<a href="attributetypes.html#dfield">
.>>
\0dfield1
.ig >>
</a>
.>>
.ig >>
&nbsp; &nbsp;
.>>
.ig >>
<a href="attributetypes.html#dfield">
.>>
\0[,dfield2]
.ig >>
</a>
.>>
.IP \0
Stub content is to be taken from one or two data fields.
.br
Example: \fCstubs: datafields=1,2\fR  .. would use
the first and second data field for stubs.


.ig >>
<br><br>
.>>

.LP
\fBstubs  none\fR
.IP \0
Don't display any stubs (presumably you only want tics , a grid, or an axis label).
An alternative method that gives you more flexibility is to use one of the above \fCstubs\fR options, 
along with \fCstubhide: yes\fR ; then you can use all the available stub-related options to control
placement of tics.


.ig >>
<br><br><br>
.>>

.SH Irregularly placed stubs

.LP
\fBselflocatingstubs\fR  (see \fCstubs\fR, above)
.IP \0
This attribute uses the same syntax as \fCstubs\fR (above).
However, this attribute allows stubs to be self-locating (each self-locating
stub contains a plottable value that determines where it will be placed).
.br
For the \fCtext\fR, \fClist\fR and \fCfile\fR modes, the first token 
(white-space delimited) in each stub is taken to be a plottable value.  
The remainder of the stub is displayed.
To display the placement value specify the value twice.
.br
For the \fCdatafields\fR mode, the first field \fIa\fR is used for placement
and the second field \fIb\fR is used for content.  To display the placement 
value, specify the same field# twice.
.br
Examples of selflocating stubs:
.br
stubs from datafields: 
.ig >>
<a href="../gallery/lineplot3.htm">
.>>
\0lineplot3
.ig >>
</a>
.>>


.ig >>
<br><br><br>
.>>

.SH Stub formatting

.ig >>
<a name=stubformat></a>
.>>

.LP
\fBstubformat\fR  
.ig >>
&nbsp; &nbsp;
.>>
\fIformat\fR
.IP \0
Controls the presentation format of numeric, date, time, or datetime stubs.  
For numeric stubs, \fIformat\fR is a 
.ig >>
<a href="attributetypes.html#printfspec">
.>>
\0printf-spec
.ig >>
</a>
.>>
(default is \fC%g\fR) or \fCautoround\fR.
\fCautoround\fR causes values to be rounded with the precision being
determined by the number's magnitude.  You can also use \fCautoround1\fR,
\fCautoround2\fR, etc. to increase the precision.
(To add thousands separators or use European decimal notation, see
.ig >>
<a href="settings.html">
.>>
\0proc settings.)
.ig >>
</a>
.>>

.ig >>
<br><br>
.>>

Example 1: \fCstubformat: %5.3f\fR 
.br
This would produce numeric stubs like this 72.350, 72.355, 72.360, etc.

.ig >>
<br><br>
.>>

Example 2: \fCstubformat: %7.0f\fR 
.br
This would produce numeric stubs like this 500000, 1000000, 1500000, etc.

.ig >>
<br><br>
.>>

.IP \0
For other scale types such as 
.ig >>
<a href="dates.html">
.>>
\0date
.ig >>
</a>
.>>
,
.ig >>
<a href="times.html">
.>>
\0time
.ig >>
</a>
.>>
,
and \fBdatetime\fR, any valid display format may be specified.
If \fCstubformat\fR is
not specified when date/time scaling is being done,
the current notation, or one similar to it, is used.

.ig >>
<br><br>
.>>

Example 3 (dates): \fCstubformat: MMMdd\fR

.ig >>
<br><br>
.>>

Example 4 (times): \fCstubformat: hhA\fR

.ig >>
<br><br>
.>>

Example 5 (datetime): \fCstubformat: MMMdd.hhA\fR

.ig >>
<br><br><br>
.>>

.SH Omitting certain stubs

.LP
\fBstubrange\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fImin\fR [\fImax\fR]
.IP \0
Range (in 
.ig >>
<a href="attributetypes.html#positionunits">
.>>
\0scaled units)
.ig >>
</a>
.>>
where tics and stubs should start
and stop along the axis.  Default range is the plot area minimus and maximus.
(If text stubs are being given, low end of range defaults to 
one unit in from the limit since this is usually what is desired 
for bar graphs, etc.)
If only one value is given it is taken to be the minimum.
Example: \fCstubrange: 5 95\fR

.ig >>
<br><br>
.>>

.LP
\fBstubevery\fR  
.ig >>
&nbsp; &nbsp;
.>>
\fIn\fR
.IP \0
Render every \fIn\fRth stub (beginning with the first) and omit the rest.

.LP
\fBstubcull\fR  
.ig >>
&nbsp; &nbsp;
.>>
\fCyes\fR | \fIh\fR
.IP \0
If specified, stubs are suppressed when too close to the adjacent stub.
This is useful with log axes to prevent "piling up" of stubs in the upper values.
If \fCyes\fR, a default minimum separation distance (0.1 inches) is used; you can also
specify a minimum separation distance \fIh\fR if desired.  

.ig >>
<br><br>
.>>

.LP
\fBstubomit\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fIlist\fR
.IP \0
Used to supress certain indiviual stubs, or all stubs.
This will suppress the stub and the tic.
May be useful when stubs are given with data and certain ones
are too close together or should be omitted for some other reason.
For a more automatic stub supression, such as for log axes, see \fCstubcull\fR.
\fIlist\fR is a 
space-delimited list of one or more strings.  Each may include wild card
characters * and ?.  Any stubs matching any members of the list are suppressed
(however the tic is not suppressed).
To suppress all stubs use this: \fCstubomit: *\fR
.br
Example: \fCstubomit: 0.5 3.5\fR
.br
A gallery example that uses stubomit: 
.ig >>
<a href="../gallery/lineplot3.htm">
.>>
\0lineplot3
.ig >>
</a>
.>>

.ig >>
<br><br>
.>>
.LP
\fBstubhide\fR
.ig >>
&nbsp; &nbsp;
.>>
\fCyes\fR | \fCno\fR
.IP \0
Hide all stubs, but render the accompanying tics.  Allows you to have more control over
tic placement (using any of the available stub-related options) when doing only tics.
(new in version 2.21)


.ig >>
<br><br>
.>>

.LP
\fBstubmininc\fR \fIf\fR
.IP \0
For numeric stubs where the increment is automatically determined, this may be used to ensure that the
increment will be at least \fIf\fR.  One use of this is with integer data to prevent
stubs from appearing in fractional increments.


.ig >>
<br><br><br>
.>>

.SH Controlling stub positioning & appearance details

.LP
\fBstubslide\fR  
.ig >>
&nbsp; &nbsp;
.>>
.ig >>
<a href="attributetypes.html#lenvalue">
.>>
\0lenvalue
.ig >>
</a>
.>>
.IP \0
If specified, axis stubs are shifted by the given amount.
For example, a positive value would shift X axis stubs to the right.
For example, a negative value would shift Y axis stubs downward.
Tics are not shifted.
.br
Example: \fCstubslide: 0.5\fR
.br
For another example see 
.ig >>
<a href="../gallery/axis9b.htm">
.>>
\0axis9b
.ig >>
</a>
.>>

.ig >>
<br><br>
.>>


.LP
\fBstubdetails\fR 
.ig >>
&nbsp; &nbsp;
.>>
.ig >>
<a href="textdetails.html">
.>>
\0textdetails
.ig >>
</a>
.>>
.IP \0
Details pertaining to stub text rendering.
.br
Example: \fCstubdetails: size=7\fR

.ig >>
<br><br>
.>>

.LP
\fBstubreverse\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fC yes | no\fR
.IP \0
If \fCyes\fR, reverses the placement of text and category stubs so that the first stub is
placed at the maxima and the last at the minima.  Has no effect on incremental stubs which
must always move from low to high.
The default is \fCno\fR, except when
text stubs are being placed along the Y axis where this defaults to \fCyes\fR.
Example: \fCstubreverse: yes\fR

.ig >>
<br><br>
.>>

.LP
\fBstubvert\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fC yes | no\fR
.IP \0
If \fCyes\fR, renders X axis stubs using vertical text.  This is useful if
X axis stubs are too long to fit horizontally.
Example: \fCstubvert: yes\fR


.ig >>
<br><br><br>
.>>

.SH Adjusting stub content


.LP
\fBstublen\fR  
.ig >>
&nbsp; &nbsp;
.>>
\fIn\fR
.IP \0
If specified, stubs will be truncated at \fIn\fR characters.
Truncated stubs will have two trailing dots (\fC..\fR) to indicate
that truncation has taken place.
.br
Example: \fCstublen:  8\fR

.ig >>
<br><br>
.>>
.LP
\fBsignreverse\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fC yes | no\fR
.IP \0
If \fCyes\fR, presents incremental numeric stubs with sign reversed.
May be useful in creating an axis that moves from high values
to low values.  
Default is \fCno\fR>
This attribute is useful only when incremental numeric stubs are being generated.
Example:
.br
 \fCstubs: inc 
.br
 signreverse: yes

.ig >>
<br><br>
.>>

.LP
\fBstubmult\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fIf\fR
.IP \0
For numeric stubs, this may be used to multiply stub values by \fIf\fR before displaying.

.ig >>
<br><br>
.>>

.LP
\fBfirststub\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fItext\fR
.IP \0
Set the contents of the first stub to \fItext\fR (for blank use \fC""\fR).
The "first stub" is the one nearest to the axis minima.

.ig >>
<br><br>
.>>

.LP
\fBlaststub\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fItext\fR
.IP \0
Set the contents of the last stub to \fItext\fR (for blank use \fC""\fR).
The "last stub" must lie on (or very near to) the axis maxima.
.br
Example: \fClaststub: and so on..\fR
.br
Example: \fClaststub: ""\fR

.ig >>
<br><br>
.>>

.LP
\fBstubsubpat\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fIpattern\fR
.LP
\fBstubsubnew\fR  
.ig >>
&nbsp; &nbsp;
.>>
\fInewtext\fR
.IP \0
Any stub matching \fIpattern\fR will be changed to \fInewtext\fR (for blank use \fC""\fR).
Both attributes must be supplied.
\fIpattern\fR may contain wild card characters \fC*\fR and \fC?\fR.
Example: 
.br
\fCstubsubpat: *xyz\fR
.br
\fCstubsubnew: ""\fR

.ig >>
<br><br>
.>>

.LP
\fBstubexp\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fC yes | exp-1 | no\fR
.IP \0
Displays incremental numeric stubs in real space when data are in log-transformed space.
If \fCyes\fR, numeric stubs are rewritten as exp(x). 
If \fCexp-1\fR, numeric stubs are rewritten as exp(x)-1, (inverse of log+1).
Default is \fCno\fR.
This attribute is useful only when incremental numeric stubs are being generated.
\fCstubformat: autoround\fR is often useful when this attribute is being used.
.br
Example: \fCstubexp: exp-1\fR

.ig >>
<br><br><br>
.>>

.SH Date-related convenience features

.ig >>
<a name=autoyears></a>
.>>

.LP
\fBautoyears\fR  
.ig >>
&nbsp; &nbsp;
.>>
\fC yes | yy | 'yy | yyyy\fR 
.IP \0
With date stubs,
automatically add the year below the first stub and then at every year transition thereafter.
\fC'yy\fR gives a two-digit year such as \fC'99\fR (this is the default).
\fCyy\fR gives a two-digit year such as \fC99\fR.
\fCyyyy\fR gives a four-digit year.

.ig >>
<br><br>
.>>

.LP
\fBautomonths\fR  
.ig >>
&nbsp; &nbsp;
.>>
\fC yes | Mmm | MMM | Mmmyy \fR (etc.)
.IP \0
With date stubs,
automatically add the month below the first stub and then at every month transition thereafter.
\fCMmm\fR gives a month abbreviation eg. \fCFeb\fR (this is the default).
\fCMMM\fR gives an all-caps month abbreviation eg. \fCFEB\fR.
\fCMmmyy\fR gives a representation eg. \fCFeb02\fR.  Other legitimate
.ig >>
<a href="dates.html">
.>>
\0month and month/year constructs
.ig >>
</a>
.>>
may also be used.

.ig >>
<br><br>
.>>

.LP
\fBautodays\fR  
.ig >>
&nbsp; &nbsp;
.>>
\fC yes | Mmmdd | mm/dd \fR (etc.)
.IP \0
With datetime stubs, 
automatically add the day below the first stub and then
at every day transition thereafter.
\fCMmmdd\fR gives a month/day representation eg. \fCFeb23\fR (this is the default).
\fCmm/dd\fR gives a month/day representation eg. \fC02/23\fR.
Other legitimate
.ig >>
<a href="dates.html">
.>>
\0day and month/day constructs
.ig >>
</a>
.>>
may also be used.

.ig >>
<br><br><br>
.>>

.SH Overall axis position 
.LP
\fBlocation\fR 
.ig >>
&nbsp; &nbsp;
.>>
.ig >>
<a href="attributetypes.html#locvalue">
.>>
\0locvalue
.ig >>
</a>
.>>
.IP \0
May be used to specify the position of the axis if the default is not suitable, or
when rendering multiple axes.
For an x axis this value is in y space; for a y axis this value is in x space.  
Append \fC(s)\fR to indicate scaled units.  
Tics and stubs will be placed relative to the position of the line.
.br
\fBNote:\fR when this attribute is specified from within proc areadef, only absolute locations
may be used, because the plotting area is not in effect yet at time of code interpretation.
.IP
Example: \fClocation: 105(s)\fR

.ig >>
<br><br><br>
.>>

.SH The axis line

.LP
\fBaxisline\fR 
.ig >>
&nbsp; &nbsp;
.>>
.ig >>
<a href="linedetails.html">
.>>
\0linedetails
.ig >>
</a>
.>>
.IP \0
Details pertaining to the axis line.  
Use \fCnone\fR to completely suppress the axis line.
.br
Example: \fCaxisline: width=1.2 color=green\fR

.ig >>
<br><br>
.>>

.LP
\fBaxislinerange\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fImin\fR [\fImax\fR]
.IP \0
May be used to control the range of the axis line.
If only one value is given it is taken to be the minimum.
.br
Example: \fCaxislinerange: 5 95\fR


.ig >>
<br><br><br>
.>>

.SH The axis label
An axis label is a single text label rendered near the axis, desribing the
units used, or other description.  The Y axis label is rendered vertically
on devices that can do so.

.LP
\fBlabel\fR 
.ig >>
&nbsp; &nbsp;
.>>
.ig >>
<a href="attributetypes.html#text">
.>>
\0text
.ig >>
</a>
.>>
.IP \0
A text label that will be rendered near the axis, used to describe
what is being plotted.  
.br
Example: \fClabel: Yearly Income\fR


.ig >>
<br><br>
.>>

.LP
\fBlabeldetails\fR 
.ig >>
&nbsp; &nbsp;
.>>
.ig >>
<a href="textdetails.html">
.>>
\0textdetails
.ig >>
</a>
.>>
.IP \0
Details for rendering the label. Example: \fClabeldetails: size=13 style=I\fR

.ig >>
<br><br>
.>>

.LP
\fBlabeldistance\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fIn\fR
.IP \0
Distance of the label below / left of the axis line.
.ig >>
<a href="attributetypes.html#positionunits">
.>>
\0Absolute units.
.ig >>
</a>
.>>
This could also be done via \fClabeldetails: adjust=\fR.
.br
Example: \fClabeldistance: 0.6\fR

.ig >>
<br><br>
.>>

.LP
\fBlabelurl\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fIurl\fR
.IP \0
If generating an
.ig >>
<a href="clickmap.html">
.>>
\0HTML clickmap,
.ig >>
</a>
.>>
this specifies a url that will be accessed when the user clicks on the axis label.
.br
Example: \fClabelurl: http://abc.com/docs/explanation.html\fR

.ig >>
<br><br>
.>>

.LP
\fBlabelinfo\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fIinfo\fR
.IP
If generating a
.ig >>
<a href="clickmap.html">
.>>
\0client-side clickmap,
.ig >>
</a>
.>>
this specifies text info that will appear as a pop-up when the user moves the mouse over the axis label.


.ig >>
<br><br><br>
.>>

.SH Tics
"Tics" are what we call the short line segments that are part of the
scale along an axis line.

.LP
\fBtics\fR  
.ig >>
&nbsp; &nbsp;
.>>
\fCyes\fR | \fCnone\fR | 
.ig >>
&nbsp; &nbsp;
.>>
.ig >>
<a href="linedetails.html">
.>>
\0linedetails
.ig >>
</a>
.>>
.IP \0
If anything other than \fCnone\fR is specified, tics will be rendered.
A linedetails specification may be given to control the color, etc. of tic marks.
Tics will be placed whereever a stub is placed.
Incremental tics may be rendered without stubs by setting \fCstubs: none\fR;
they can be controlled using \fCticincrement\fR.
.br
Example: \fCtics: yes\fR

.ig >>
<br><br>
.>>

.LP
\fBticslide\fR  
.ig >>
&nbsp; &nbsp;
.>>
.ig >>
<a href="attributetypes.html#lenvalue">
.>>
\0lenvalue
.ig >>
</a>
.>>
.IP \0
If specified, axis tics are shifted by the given amount.
For example, a positive value would shift X axis stubs to the right.
For example, a negative value would shift Y axis stubs downward.

.ig >>
<br><br>
.>>

.LP
\fBticlen\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fIlen1\fR [\fIlen2\fR]
.IP \0
Length of tics in 
.ig >>
<a href="attributetypes.html#positionunits">
.>>
\0absolute units.
.ig >>
</a>
.>>
\fIlen1\fR is the distance that
tics will be drawn from the axis line leftward / downward
and \fIlen2\fR (optional) is the distance that
tics will be drawn from the axis line rightward / upward.
The default is for tics to be drawn a short distance leftward / downward.
Example: \fCticlen: 0.1 0.05\fR
.br
Example: \fCticlen: 0 0.05\fR

.ig >>
<br><br>
.>>

.LP
\fBticincrement\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fIn\fR 
.ig >>
&nbsp; &nbsp;
.>>
[\fIunits\fR]
.IP \0
When no stubs are being rendered, this attribute may be used to
control tic placement.  Tics will be placed at every \fIn\fR units.
The \fIunits\fR modifier may be used when working with date or
time scaling; it may be \fCdays\fR, \fChours\fR, etc. 
(see
.ig >>
<a href="scaleunits.html">
.>>
\0scaleunits).
.ig >>
</a>
.>>

.ig >>
<br><br>
.>>

.LP
\fBminortics\fR 
.ig >>
&nbsp; &nbsp;
.>>
.ig >>
<a href="linedetails.html">
.>>
\0linedetails
.ig >>
</a>
.>>
.IP \0
Details pertaining to the minor tic marks.
Default is \fCnone\fR which suppresses minor tic marks.
Use \fCyes\fR to activate minor tics using the default detail
specifications.

.ig >>
<br><br>
.>>

.LP
\fBminorticinc\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fIn\fR 
.ig >>
&nbsp; &nbsp;
.>>
[\fIunits\fR]
.IP \0
Minor tics to be drawn every \fIn\fR scaled units along the axis line.
The \fIunits\fR modifier may be used when working in date or time units;
it may be \fCdays\fR, \fChours\fR, etc.
(see
.ig >>
<a href="scaleunits.html">
.>>
\0scaleunits).
.ig >>
</a>
.>>

.ig >>
<br><br>
.>>

.LP
\fBminorticlen\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fIlen1\fR 
.ig >>
&nbsp; &nbsp;
.>>
[\fIlen2\fR]
.IP \0
Length of tics in 
.ig >>
<a href="attributetypes.html#positionunits">
.>>
\0absolute units.
.ig >>
</a>
.>>
\fIlen1\fR is the distance that
minor tics will be drawn from the axis line leftward/downward,
and \fIlen2\fR (optional) is the distance that
tics will be drawn from the axis line rightward/upward.

.ig >>
<br><br><br>
.>>

.SH Grid lines and shaded blocks

\fBgrid\fR 
.ig >>
&nbsp; &nbsp;
.>>
.ig >>
<a href="linedetails.html">
.>>
\0linedetails
.ig >>
</a>
.>>
.ig >>
&nbsp; &nbsp;
.>>
| none
.IP \0
If specified, causes background grid lines to be drawn at stub or tic locations.
If no stubs or tics are being rendered, the \fCticincrement\fR attribute
may still be used to control placement of grid lines.
Extent of the lines may be controlled using \fCgridlineextent\fR.
Shaded blocks rather than lines may be done using \fCgridblocks\fR.
Default is "none".
.br
Example: \fCgrid: color=yellow width=1\fR

.ig >>
<br><br>
.>>

.LP
\fBgridblocks\fR
.ig >>
&nbsp; &nbsp;
.>>
.ig >>
<a href="color.html">
.>>
\0color1  color2
.ig >>
</a>
.>>
 | none
.IP \0
If specified, causes a background grid made up of shaded zones.
Zones are shaded alternately using \fIcolor1\fR and \fIcolor2\fR.
Extent of the may be controlled using \fCgridlineextent\fR. 
.br
Example: \fCgridblocks:  gray(0.9) white

.ig >>
<br><br>
.>>

.LP
\fBgridlineextent\fR 
.ig >>
&nbsp; &nbsp;
.>>
.ig >>
<a href="attributetypes.html#locvalue">
.>>
\0minlocval  [maxlocval]
.ig >>
</a>
.>>
.IP \0
Allows explicit specification of where grid lines or shaded blocks begin
and end.  
Normally grid lines or blocks are drawn from the minima to the maxima.
For example if grid lines are being rendered along with a Y axis,
this attribute may be used to control where the lines begin and end in X.
Commonly used to extend grid structure into axis stubs area as an eye guide.
Note: if shading obliterates stubs.. a workaround is
to first render shading, then render stubs in a separate proc axis invocation.
.br
Example: \fCgridlineextent: min-1.5  max\fR

.ig >>
<br><br>
.>>

.LP
\fBgridskip\fR  
.ig >>
&nbsp; &nbsp;
.>>
\fCmin\fR | \fCmax\fR | \fCminmax\fR
.IP \0
Grid lines can sometimes interfere with a perpendicular axis 
line rendered earlier.  Use this option to suppress the 
grid at the minima, maxima, or both.

.ig >>
<br><br><br>
.>>

.SH Clickmaps and mouseover

.LP
\fBclickmap\fR  
.ig >>
&nbsp; &nbsp;
.>>
\fCgrid | xygrid\fR
.IP \0
If a
.ig >>
<a href="clickmap.html">
.>>
\0clickmap
.ig >>
</a>
.>>
is being generated, 
this attribute allows the plotting area to be mapped as a grid.
Specify \fCgrid\fR for a 1-D grid, or \fCxygrid\fR for a 2-D grid.  
.ig >>
<a href="areadef.html">
.>>
\0proc areadef
.ig >>
</a>
.>>
\fCclickmapurl\fR attribute must also be specified.
See the 
.ig >>
<a href="clickmap.html">
.>>
\0clickmap page
.ig >>
</a>
.>>
for more details and examples.
.IP \0
Example: \fCclickmap: grid\fR

.ig >>
<br><br>
.>>

.LP
\fBclickmapextent\fR 
.ig >>
&nbsp; &nbsp;
.>>
.ig >>
<a href="attributetypes.html#locvalue">
.>>
\0minlocval  [maxlocval]
.ig >>
</a>
.>>
.IP \0
If a
.ig >>
<a href="clickmap.html">
.>>
\0clickmap
.ig >>
</a>
.>>
is being generated, and the plotting area is being mapped as a grid,
normally the regions end at the plotting area boundary.
However, this attribute may be used to extend the region, to include
stubs, for example.
.IP \0
Example: \fCclickmapextent: min-0.5 \fR

.ig >>
<br><br>
.>>

.LP
\fBclickmapvalformat\fR  
.ig >>
&nbsp; &nbsp;
.>>
\fIstubformat\fR
.IP \0
If a
.ig >>
<a href="clickmap.html">
.>>
\0clickmap
.ig >>
</a>
.>>
is being generated, and the plotting area is being mapped as a grid,
this attribute allows control over the format of the values to be sustituted
into the URL template.  Most often useful for special units such as dates.
See the 
.ig >>
<a href="clickmap.html">
.>>
\0clickmap page
.ig >>
</a>
.>>
for more details and examples.
.IP \0
Example: \fCclickmapvalformat: MMMyy\fR

.ig >>
<br><br><br>
.>>

.SH Variables that are set by proc axis
\fBXINC\fR or \fBYINC\fR will be set to hold the axis increment value.

.ig >>
<br>
<br>
</td></tr>
<td align=right>
<a href="../doc/welcome.html">
<img src="../doc/ploticus.gif" border=0></a><br><small>data display engine &nbsp; <br>
<a href="../doc/Copyright.html">Copyright Steve Grubb</a>
<br>
<br>
<center>
<img src="../gallery/all.gif"> 
</center>
</td></tr>
</table>
.>>
