# 9.2.5 The (Plot Details) Stack Tab

Specifies data plots offset in grouped data plots.

## Offset

### None

Data plots are not stacked.

### Cumulative

Y values of data plots are stacked cumulatively.

### Incremental

2D Bar
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.

3D Bar
Display Z values of Column/Bar plots in the ascending order so that columns/bars of larger Z values won't overlap those of smaller values.

### Constant

#### Enter Constant Offset

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

##### Choose a column label row

To offset plots with values in column label rows, e.g. comments, use wcol(n)[C]. Expression is supported such as wcol(n)[C]/2.

As you can see, once selected a label row storing the offset values, the first plot will keep the original position with no offset, but started from the third stacked plot, the plots will have offsets defined by cumulative values:
The offset value of 3rd plot is equal to col(C)[C]+col(D)[C] = 2 + 5 = 7.

#### Set the Offset as Absolute Offset

The checkbox Absolute Offset after the Constant edit box is default unchecked. When it is checked, the offset values will be treated as absolute offset from actual position, and the first plot will also use the offset.

### Auto

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.

### Individual

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:

1. 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.
2. Select one line plot in the left panel and activate the Offset tab in the right panel. Specify the X or Y offset.

OR

1. Click on the data plot twice (not double click) to select it, keep the mouse clicked and drag to change the offset.
 The Scale In tool may appear to fail on Y offset graphs, when the area you are trying to zoom in on lies outside the range of Y values. In such cases, set @SACS = 0 and you should be able to zoom in on any plot regardless of offset.

## Display column/bar plot by sorted order

To order a stacked column/bar chart from least to greatest or greatest to least, enable the Display column/bar plot by sorted order box and select Ascending or Descending.

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

## Offset within Subgroup( in Group tab ) for Cumulative/Incremental

The Offset within Subgroup (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/Floating Column/Bar check box is grayed out.

## Offset Between Subgroup (in Group tab) for Constant/Auto

Origin's Stacked Lines by Y Offsets graph is used to plot a grouped series of Y datasets, using an X and/or Y offset to generate space between plots.

Use this check box and the Constant and Auto controls on this tab, in conjunction with the Subgrouping controls on the Group tab, to subgroup lines for this type of plot.

## 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 can be used for 2D Column/Bar plots, Area plots, Line plots, Scatter plots and Line+Symbol plots. When this box is selected, the Y axis displays percent and each stack of plots sums to 100%.

## Show Connect Line on Stacked/Floating Column/Bar

The Show Connect Line on Stacked/Floating Column/Bar check box is available when

• the Offset is set to Cumulative, and Use Subgrouping(in Group tab) for Cumulative is not selected.

Or

• in a floating column or bar graph.

This control is intended for use with the stacked column/bar plot, or the floating column/bar plot. When this box is selected, connecting lines are added between each set of stacked/floating columns/bars associated with the same Y column. The connecting line style can be customized using the controls on the Line tab.

## Show Total Label on Stacked Column/Bar

This check box is available when the Offset is set to Cumulative.

When this box is selected, the total value label will show on the top/right of the Columns/Bars. Its display format follows that of data label, which is customized on Label tab, except the label position and font color.

## Custom Additional Line by Relative Position

This checkbox should be unchecked by default. It is available only when Offset is set to Constant/Auto/Individual.

This function will only work when (1)there is an additional line(Y=);(2)Offset has been set Constant/Auto/Individual;(3)Fill Area Under Curve check box in Line tab has been selected or Drop to in the Drop Line tab has been set to Custom Additional Line.

That means, if this check box has been checked, each stacked plot will have a relative additional line, the vertical distance from Plot to its relative additional line should be same as that the stack offset has been set to None. And each plot will fill or drop to the relative additional line.