9.2.5 The (Plot Details) Stack Tab
Specifies data plots offset in grouped data plots.
Data plots are not stacked.
Y values of data plots are stacked cumulatively.
Display Y values of Column/Bar plots in the ascending order so that columns/bars of larger Y values won't overlap those of smaller values..
- Enter one constant: Shifts group plot points by a specified constant value.
- Enter multiple constants: Enter a series of numbers separated by space to offset with different values in a loop.
If you enter two constants with space separated, 0 x
1st plot will have no offset.
2st plot will add 0 offset
3rd plot will add 0+x offset
4th plot will add 0+x+0 offset
5th plot will add 0+x+0+x offset
and so on
For example, 0 10 will offset with 0 0 10 10 20 20...
Auto calculates constant offsets based on min-max Y value difference and a specified gap. If the scale range changes dramatically after staking, you will need to check the Keep Proportion of Plot Range to display the stacked plots correctly.
In the following example the distance between two curves, C1 and C2 on the same graph, can be calculated as follows:
The maximum and minimum Y values of C1 are y_max1 and y_min1, respectively. The maximum and minimum Y values of C2 are y_max2 and y_min2, respectively. The difference between the maximum and minimum Y values of C1 is (y_max1-y_min1), and that of C2 is (y_max2-y_min2). The t variable is the greater of these two differences:
- t = max((y_max1-y_min1),(y_max2-y_min2)).
The distance between C1 and C2 is:
- distance = t*gap+(y_max1-y_min1),
where the value for gap is set in the Gap (%) edit box.
Check the Keep Proportion of Plot Range to keep the proportion of (y_max1-y_min1) vs (y_max2-y_min2) after stacking. It is useful when the axis scale type is changed and thus the plot range displayed in the graph window changes dramatically, such as changing Y axis from Linear to Log10.
Works in Stacked Line by Y Offsets plot (Plot: Multi-Curve: Stacked Line by Y Offsets). Each plot has individual offset settings, which can be modified on the Offset tab in the plot details dialog when the corresponding plot is selected in the left panel under the expanded Layer icon.
To modify an offset:
- Activate the Stack tab when the Layer icon is selected in the left panel. Select the individual radio button and enable X and/or Y.
- Select one line plot in the left panel and activate the Offset tab in the right panel. Specify the X or Y offset.
- Click on the data plot twice (not double click) to select it, keep the mouse clicked and drag to change the offset.
Display column/bar plot by sorted order
To order a stacked column/bar chart from least to greatest enable the Display column/bar plot by sorted order box.
Show Overlapped Column/Bar
This option is only available when Offset is set to Incremental and is supposed to be used for 2D Column/Bar plots. When there are multiple equivalent Y values at the same X, check this checkbox so all these columns/bars will evenly share the space to avoid completely overlapping
Use Subgrouping ( in Group tab ) for Cumulative/Incremental
The Use Subgrouping (in Group tab) for Cumulative/Incremental check box is only available when the Offset is set to Cumulative or Incremental. It specifies whether to use subgrouping. When this is selected, the Show Connect Line on Stacked Column/Bar check box is grayed out.
Normalize to Percent for Cumulative/Incremental
The Normalize to Percent for Cumulative/Incremental check box is only available when the Offset is set to Cumulative or Incremental and is supposed to be used for 2D Column/Bar plots. When this box is selected, the Y axis displays percent and each stack of columns/bars sums to 100%.
Show Connect Line on Stacked Column/Bar
The Show Connect Line on Stacked Column/Bar check box is only available when the Offset is set to Cumulative, and is grayed out when Use Subgrouping( in Group tab) for Cumulative is selected. This control is intended for use with the Stacked Column/Bar plot. When this box is selected, connecting lines are added between each stack of columns/bars associated with the same Y column. The connecting line style can be customized using the controls on the Line tab.