.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: proc breakaxis</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>proc breakaxis</h2></td>
  <td align=right>
  <small>
  <a href="../doc/welcome.html"><img src="../doc/ploticus.gif" border=0></a><br>
  Version 2.41 Mar2009
     </small><br><a href="../doc/scripthome.html">Scripts</a>
  <td></tr></table>
</td></tr>
<td>
<br>
<br>
.>>

.TH proc_breakaxis PL "11-MAR-2009   PL ploticus.sourceforge.net"

.ig >>
<center><img src="../gallery/thumbnails/brokenaxis.png"></center>
.>>
.LP
\fBproc breakaxis\fR may be used to render a "break" symbol
when preparing plots that have a broken axis in order to accomodate
an extreme value. 
.LP
In terms of plotting mechanics, breaking an axis means that one
region of the plotting area uses one scale space, while the other
region uses a different scale space.  A "break" symbol is used to
illustrate where these two regions meet.
Ploticus cannot render broken axis plots
automatically; generally they are "by hand" efforts.
.LP
The general approach is to use a "trick": 
set up one space, plot the values with
a truncate option so that the extreme values do not go out of range,
then set up a second space immediately adjacent to the first one,
plot the values again so that only extremeties show, then 
use \fBproc breakaxis\fR to render a break symbol along the
axis and again within the plot.
The two plotting areas must be proportional in scaling.
.LP
Broken axis plotting works with proc bars, proc rangebar, and proc scatterplot.
It currently does not work with lineplots or rangesweep, 
because these are unable to confine to the plotting area.

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

.SH Examples
Gallery examples where this is used is
.ig >>
<a href="../gallery/brokenaxis.htm">
.>>
\0brokenaxis
.ig >>
</a>
.>>
 and 
.ig >>
<a href="../gallery//spence1_rt.htm">
.>>
\0spence_rt
.ig >>
</a>
.>>

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

.SH Attributes
The \fCbreakpoint\fR attribute \fBmust\fR be specified.
.LP
\fBaxis\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fCx\fR | \fCy\fR
.IP \0
The axis that is to be broken.  Default is \fCy\fR.

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

.LP
\fBbreakpoint\fR
.ig >>
&nbsp; &nbsp;
.>>
.ig >>
<a href="attributetypes.html#plotvalue">
.>>
\0plotvalue
.ig >>
</a>
.>>
.IP \0
Where the break is to be rendered, in \fCaxis\fR space.
This attribute \fBmust\fR be specified.  Example: 
.nf
  axis: y
  breakpoint: 25
.fi
would break the Y axis at Y = 25.

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

.LP
\fBlocation\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fCaxis\fR | 
.ig >>
<a href="attributetypes.html#plotvalue">
.>>
\0plotvalue
.ig >>
</a>
.>>
.IP \0
The location where the break symbol is to be rendered.
\fCaxis\fR causes the symbol to be placed on the left
or bottom axis.  Otherwise, \fIplotvalue\fR is used.
Default is \fCaxis\fR.  Example: 
.nf
  axis: y
  breakpoint: 25
  location: axis
.fi
The above code would render a break symbol 
on the Y axis at Y = 25.
.IP \0
Another Example: 
.nf
  axis: y
  breakpoint: 25
  location: 30
.fi
The above code would render a break symbol at X = 30, Y = 25, presumably
to break a bar, etc.  

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

.LP
\fBstyle\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fCslant  |  straight\fR
.IP \0
The style of the break symbol. Default is \fCslant\fR.

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

.LP
\fBlinelength\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fIn\fR
.IP \0
The length of the break symbol lines.
\fIn\fR is in absolute units.  Default is 0.2 inches.

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


.LP
\fBfillcolor\fR
.ig >>
&nbsp; &nbsp;
.>>
.ig >>
<a href="color.html">
.>>
\0color
.ig >>
</a>
.>>
.IP \0
The color used for the rubout area.  Default is the current background
color.  If you used a different color for the plotting area, that color
should be specified here.

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

.LP
\fBgapsize\fR 
.ig >>
&nbsp; &nbsp;
.>>
\fIn\fR
.IP \0
The distance (in absolute units) between the two lines of the break symbol.

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

.LP
\fBlinedetails\fR 
.ig >>
&nbsp; &nbsp;
.>>
.ig >>
<a href="linedetails.html">
.>>
\0linedetails
.ig >>
</a>
.>>
.IP \0
Controls the color, line width, etc. of the break symbol lines.

.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>
<br>
<center>
<table><tr><td>
Ploticus is hosted at http://ploticus.sourceforge.net</td><td> &nbsp; </td><td>
<a href="http://sourceforge.net/projects/ploticus"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=38453&type=12" 
width="120" height="30" border="0" 
alt="Get ploticus data display engine at SourceForge.net. Fast, secure and Free Open Source software downloads" /></a>
</td></tr></table>


</center>
.>>
