OriginLab Corporation - Data Analysis and Graphing Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis     
 
Skip Navigation Links
All BooksExpand All Books
Origin HelpExpand Origin Help
Customizing Your GraphExpand Customizing Your Graph
Customizing Graph Layer ElementsExpand Customizing Graph Layer Elements

9.2.5 The (Plot Details) Stack Tab


Specifies data plots offset in grouped data plots.

Stack0.png

Offset

None

Data plots are not stacked.

Cumulative

Y values of data plots are stacked cumulatively.

Stack11.png Stack12.png
Incremental

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

Stack07.png
Constant
  • Enter one constant: Shifts group plot points by a specified constant value.
Stack21.png Stack22.png
  • 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

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.

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.

Stack03.png

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

Stack08.png

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/Floating Column/Bar check box is grayed out.

2D Bars

Stack04.png

3D Bars

Stack04 1.png

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

Stack05.png

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.

Stack06.png


Floating bar with connect line.png

 

© OriginLab Corporation. All rights reserved.