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