.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: examples using the 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>Examples using the stack prefab</h2></td>
  <td align=right>
  <small>
  <a href="../doc/welcome.html"><img src="../doc/ploticus.gif" border=0></a><br>
  Version 2.33 Jun'06
     </small><br><a href="../doc/prefabs.html">Prefabs</a>
  <td></tr></table>
</td></tr>
<td>
<br>
<br>
.>>

.TH Examples_using_the_stack_prefab PL "02-JUN-2006   PL ploticus.sourceforge.net"

.LP
These examples use the
.ig >>
<a href="prefab_stack.html">
.>>
\0stack prefab.
.ig >>
</a>
.>>
They are included in the distribution (\fC./pltestsuite/testpf_stack\fR)
.ig >>
<a href="prefab_gallery.html">
.>>
\0Gallery of ALL prefab examples
.ig >>
</a>
.>>


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

.SH stack example 1 - bars
.LP
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/stack1.gif"></td></tr>
</table></center>
.>>
.LP
.nf
   pl -prefab stack data=data10 x=1 y=2 y2=4 y3=6 y4=8 xlbl=Months \\
    name="Group A" name2="Group B" name3="Group C" name4="Group D"

   data10 file:
	0	100	2	100	4	100	3	100	4
	1.5	92	4	94	7	87	6	86	5
	3	89	4	92	8	78	6	74	4
	..etc.



.fi

.SH stack example 2 - a stacked area plot
.ig >>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/stack3.gif"></td></tr>
</table></center>
.>>
.LP
.nf
   pl -prefab stack data=data5 delim=tab x=1 y=2 y2=3 y3=4 y4=5  \\
        stackarea=yes echodata=yes stubvert=yes \\
	name=eastern name2=central name3=mountain name4=pacific

   data5 file looks like this:
     Test 4	83	12	64	9
     Test 5	95	11	92	13
     Test 6	42	8	76	11
     Test 7	69	13	68	6
     Test 8	76	19	84	14
     Test 9	83	12	64	9
     Test 10	95	11	92	13
     Test 11	42	8	76	11
     Test 12	69	13	68	6
.fi
     

.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>
Ploticus is hosted at http://ploticus.sourceforge.net <br>
<img src="http://sourceforge.net/sflogo.php?group_id=38453" width="88" height="31" border="0" alt="SourceForge Logo">
</center>
.>>
