Search


Ploticus > Prefabs >
stack prefab for creating stacked bar graphs etc.


Produce 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. (The chron prefab should be used to do stacked bar graphs with a chronological X axis.
View the examples


Parameters

Prefab
parameter
name
Data type DefaultDescription Examples
(ignore line wrapping)
Standard parameters     Most of the standard prefab parameters may be used. You must specify data (the name of the input data file). The clickmap parameters and ptselect aren't available with this prefab.
x data field must be specified Identifies the data field that will hold X component. By default these are assumed to be categories, but thay can be continuous numeric values if the xnumeric parameter is specified. x=2

x=pmb
y

y2
y3
y4
data field y must be specified Identifies the data fields that will hold stackable numeric Y components. y=2

y=pmb y2=pmc
stackarea yes or no no Do a stacked area plot rather than a stacked bar plot (see examples). stackarea=yes
xnumeric yes or no no If yes, signifies that X values are numeric rather than categories. xnumeric=yes
color

color2
color3
color4
color orange powderblue dullyellow drabgreen Color(s) of stacked bars or stacked areas. color=red color2=orange
outline yes
or
linedetails
  Outline the bars. Applies to all levels. outline=yes
reverseleg yes or no no If yes, list legend entries in reverse order. reverseleg=yes


 


Ploticus 2.42 ... May 2013 Terms of use / GPL