1
// ploticus data display engine. Software, documentation, and examples.
2
// Copyright 1998-2002 Stephen C. Grubb (scg@jax.org).
3
// Covered by GPL; see the file 'Copyright' for details.
4
// http://ploticus.sourceforge.net
6
//// STACK - do a stacked bar graph
9
//// load stack-specific parms..
10
#setifnotgiven barwidth = ""
11
#setifnotgiven xnumeric = ""
12
#setifnotgiven y2 = ""
13
#setifnotgiven y3 = ""
14
#setifnotgiven y4 = ""
15
#setifnotgiven color = orange
16
#setifnotgiven color2 = "powderblue"
17
#setifnotgiven color3 = "dullyellow"
18
#setifnotgiven color4 = "drabgreen"
19
#setifnotgiven name = ""
20
#setifnotgiven name2 = ""
21
#setifnotgiven name3 = ""
22
#setifnotgiven name4 = ""
23
#setifnotgiven outline = no
25
#setifnotgiven legend = "min+1.25 max+1.25"
27
#setifnotgiven legend = "min+0.5 max+0.5"
31
//// load standard parms..
32
#include $chunk_setstd
42
xautorange: datafield=@x incmult=2.0
44
xscaletype: categories
45
xcategories: datafield=@x
48
yautorange: datafields=@y,@y2,@y3,@y4 combomode=stack incmult=2.0
50
yautorange: datafields=@y,@y2,@y3,@y4 combomode=stack incmult=2.0 lowfix=0
75
//// user pre-plot include..
81
//// do 1st level bars..
106
//// 3rd level bars..
120
//// 4th level bars..
140
//// user post-plot include..