1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
|
<html>
<head>
<!-- This file has been generated by unroff 1.0, 01/08/02 13:46:41. -->
<!-- Do not edit! -->
<STYLE TYPE="text/css">
<!--
A:link{text-decoration:none}
A:visited{text-decoration:none}
A:active{text-decoration:none}
-->
</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>
<a href="../doc/Welcome.html">Welcome</a>
<a href="../gallery/index.html">Gallery</a>
<a href="../doc/Contents.html">Handbook</a>
<td></tr></table>
</td></tr>
<td>
<br>
<br>
<title>Manual page for stack_prefab(PL)</title>
</head>
<body>
<h2>EXAMPLE 1</h2>
<p>
<center><table cellpadding=2><tr>
<td><img src="../gallery/prefab_img/stack1.gif"></td></tr>
</table></center>
<p>
<pre>
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.
</pre>
<p>
<a href="prefabs.html#examples">
How to run these examples
</a>
<br><br><br>
<h2>DESCRIPTION</h2>
<tt>stack</tt> is a
<a href="prefabs.html">
prefab
</a>
for producing stacked bar graphs with
one to four levels of stacking.<tt> </tt>
The data must be organized such that all segments of a bar are in the same
data row.<tt> </tt>
Based on
<a href="bars.html">
proc bars
</a>
.<tt> </tt>
<br><br><br>
<h2>PARAMETERS</h2>
<dl>
<dt><dd><p>
<a href="prefab_stdparms.html">
Standard prefab parameters
</a>
are all supported except <b>err</b>. <b>data</b>, <b>x</b> and <b>y</b> are required.<tt> </tt>
<b>y</b> values should be numeric and will determine the height of bars.<tt> </tt>
<b>x</b> values determine bar locations;
by default they are assumed to be categories, but thay can be continuous numeric values
if <b>xnumeric</b> is specified.<tt> </tt>
<br>
<br>
<dt><dd><p>
<b>name</b> is a short description for the first level, for
inclusion in a legend.<tt> </tt>
<br>
<br>
<dt><dd><p>
<b>y2</b>, <b>name2</b>, <b>color2</b>
may be specified for a second level.<tt> </tt>
<br>
<br>
<dt><dd><p>
<b>y3</b>, <b>name3</b>, <b>color3</b>
may be specified for a third level.<tt> </tt>
<br>
<br>
<dt><dd><p>
<b>y4</b>, <b>name4</b>, <b>color4</b>
may be specified for a fourth level.<tt> </tt>
<br>
<br>
<dt><dd><p>
<b>xnumeric</b> may be specified as <tt>yes</tt> to signify that X values
are numeric and not categories.<tt> </tt>
<br>
<br>
<dt><dd><p>
<b>legend</b> controls the
<a href="attributetypes.html#xy">
location
</a>
of the legend. Example: <tt>"legend=1 0.5"</tt>
<br>
<br>
</td></tr>
<td align=right>
<a href="Welcome.html">
<img src="../doc/ploticus.gif" border=0></a><br><small>data display engine <br>
<a href="../doc/Copyright.html">Copyright Steve Grubb</a>
<br>
<br>
<center>
<img src="../gallery/all.gif">
</center>
</td></tr>
</table>
</dl>
<p><hr>
Markup created by <em>unroff</em> 1.0, <tt> </tt> <tt> </tt>January 08, 2002.
</body>
</html>
|