OriginLab Corporation - Scientific Graphing and Data Analysis Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis

The (Plot Details) Stack Tab

Specifies data plots offset in multi-curve plot.

Image:Stack0.png

Offset

None: Do not stack data plots.

Cumulative: Y values of data plots are stacked cumulatively.

Image:Stack11.png Image:Stack12.png

Constant: Shifts group plot points by a constant value.

Image:Stack21.png Image:Stack22.png

Auto: Auto calculates constant offsets based on min-max Y value difference and a gap.

Take the graph with two curves for example. The distance between these two curves, C1 and C2, can be calculated as follow:

Suppose the maximum and minimum Y values of C1 are y_max1 and y_min1, respectively. And the maximum and minimum Y values of C2 are y_max2 and y_min2, respectively. The difference between maximum and minimum Y values of C1 is (y_max1-y_min1), and that of C2 is (y_max2-y_min2). Let the t variable be the greater of these two differences, namely,

t = max((y_max1-y_min1),(y_max2-y_min2)).

Then the distance between C1 and C2 will be

distance = t*gap+(y_max1-y_min1),

where gap is set in the edit box to the right of the Auto radio button.

Individual: Works in Stack Line by Y Offsets plot (Plot: Multi-Curve: Stack Line by Y Offsets). Each plot has its own individual offset settings, which can be modified in the Offset tab in plot details dialog when the corresponding plot object is selected in the left pane.

To modify an offset, one should:

  1. Activate the Stack tab when the Layer icon is selected in the left pane. Then select the individual radio button and enable X and/or Y.
  2. Select one line plot in the left pane and activate the Offset tab in the right pane. Then specify the X or Y offset.