The pyramid graph is similar to two horizontally oriented bar graphs set up side by side. The most common usage is as a population pyramid, where the bars are by age and the two sides are used for female and male. The pyramid graph shows values at a given time, either the simulation time, or the scrub time, as set in the Run Toolbar. As you simulate a model, the pyramid graph will update.
Pyramid graphs require arrayed variables, typically of two or more dimensions (though it is possible to use two one dimension arrays rather than two parts of a single array). The most common example will be for population. Suppose Age has values Age_1, Age_2, ... Age_85, Age_Older and Sex has values Female, Male. Then Population would be arrayed by Age and Sex with each sex having 86 different age values.
You could also set up two different variables to be used on the different sides of the pyramid graph. Still using the above example you might have urban and rural populations as two separate variables and then show these in a pyramid graph.
Select the graph from the Interface Build toolbar, and click on the page at the location you want it to appear (you can also add a page to an existing graph you've already put down). On the graph panel, select type Pyramid at the top.
The selection of variables is slightly different from they way it works with most other graphs as described in Graph Series Property Panel.
When you click on the button to add a variable, you will be prompted to pic one using the find dialog. You will need to choose an arrayed variable. Suppose that is population, as discussed above. After selecting it you will be asked to choose subscripts:
Choose * for age. This will form the basis for setting up the bars. Then choose Male for the Sex subscript. The first addition will be the left side content:
Click on the button again to choose the right side. This will also be Population, but this time choose Female as the sex. then click on the button to open the Graph Settings Properties Panel and add Male for the left label and Female for the right label. You will get a graph (depending on your data) such as:
You can only add one set of values for display (always paired).
The options and styles for the pyramid graph are the same as those for other graphs (seeGraph Styles Tab for more discussion).
The left will use the color set for the first graph series, the right that for the second graph series as you have set for the model (see Graph Styles Properties Panel), but you can specify the color used for each variable directly.