.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: stack prefab</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>stack prefab</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/prefabs.html">Prefabs</a>
  <td></tr></table>
</td></tr>
<td>
<br>
<br>
.>>

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

.ig >>
<center><a href="prefab_stack_ex.html">
<img src="../gallery/prefab_img/stack1thm.gif" border=0>
<img src="../gallery/prefab_img/stack3thm.gif" border=0>
 <br><b>View the examples</a></b><br><br></center>
.>>


.LP
\fCstack\fR is a 
.ig >>
<a href="prefabs.html">
.>>
\0prefab
.ig >>
</a>
.>>
for producing stacked bar graphs and stacked area plots with
one to four levels of stacking.
The data must be organized such that all segments of a bar are in the same
data row.
\fBNote:\fR the
.ig >>
<a href="prefab_chron.html">
.>>
\0chron prefab
.ig >>
</a>
.>>
should be used to do stacked bar graphs with a chronological X axis.

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

.SH Parameters

.ig >>

<table cellpadding=2 bgcolor=A0A0A0 width=600>

<tr bgcolor=FFFFEC align=center><td><b>Prefab<br>parameter<br>name</td><td>Data type</td>
<td>Default</td><td>Description</td>
<td>Examples<br><small>(ignore line wrapping)</td></tr>


<tr bgcolor=FFFFFF>
<td><b><a href="prefab_stdparms.html">Standard parameters</a></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td colspan=2>Most of the <a href="prefab_stdparms.html">standard prefab parameters</a> may be used.
You <font color=D00000>must specify</font> <b>data</b> (the name of the input data file).
The clickmap parameters and <b>ptselect</b> aren't available with this prefab.
</td>
</tr>

<tr bgcolor=FFFFFF>
<td><b>x</td>
<td><a href="atypes.html#dfield">data field</a></td>
<td><font color=D00000>must be specified</font></td>
<td><nobr>Identifies the data field that will hold</nobr> X component.
By default these are assumed to be categories, but thay can be continuous numeric values
if the <b>xnumeric<b> parameter is specified. </td>
<td><tt>x=2<br><br>x=pmb</td>
</tr>

<tr bgcolor=FFFFFF>
<td><b>y<br><br>y2<br>y3<br>y4</td>
<td><a href="atypes.html#dfield">data field</a></td>
<td><b>y</b> <font color=D00000>must be specified</font></td>
<td><nobr>Identifies the data fields that will hold</nobr> stackable numeric Y components.</td>
<td><tt>y=2<br><br>y=pmb y2=pmc</td>
</tr>

<tr bgcolor=FFFFFF>
<td><b>stackarea</td>
<td><tt>yes</tt> or <tt>no</td>
<td><tt>no</td>
<td>Do a stacked area plot rather than a stacked bar plot (see examples).</td>
<td><tt>stackarea=yes</td>
</tr>

<tr bgcolor=FFFFFF>
<td><b>xnumeric</td>
<td><tt>yes</tt> or <tt>no</td>
<td><tt>no</td>
<td>If <tt>yes</tt>, signifies that X values are numeric rather than categories.</td>
<td><tt>xnumeric=yes</td>
</tr>


<tr bgcolor=FFFFFF>
<td><b>color<br><br>color2<br>color3<br>color4</td>
<td><a href="color.html">color</a></td>
<td><tt>orange powderblue dullyellow drabgreen</td>
<td>Color(s) of stacked bars or stacked areas.</td>
<td><tt>color=red color2=orange</td>
</tr>


<tr bgcolor=FFFFFF>
<td><b>outline</b></td>
<td><tt> yes </tt><br>or<br><tt><a href="linedetails.html">linedetails</a></td>
<td>&nbsp;</td>
<td>Outline the bars.  Applies to all levels.</td>
<td><tt>outline=yes</td>
</tr>


<tr bgcolor=FFFFFF>
<td><b>reverseleg</b></td>
<td><tt>yes</tt> or <tt>no</td>
<td><tt>no</td>
<td>If <tt>yes</tt>, list legend entries in reverse order. </td>
<td><tt>reverseleg=yes</td>
</tr>

</table>
.>>

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