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                      The (Plot Details) Spacing Tab

The controls on the Spacing tab are dependent on the current data plot type. The following reference section reviews all the possible controls on this tab.

Spacing0.png Spacing1.png
In Scatter or Line+Symbol graph In 2D Columns or 2D Bars graph
Spacing3.png Spacing4.png
In Box / Histogram plot with subgrouping. In Box / Histogram plot without subgrouping

Gap Between....(in %)

This combination box value controls the spacing between the columns, bars, or boxes for each X value, in units of % of the width of the columns, bars, or boxes at each X value. The control supports keyboard entry or selecting from the drop-down list.

The default value is 20; accepted values range from 0 to 100. If the input value is not an integer, it will be rounded up to the next integer.

Note: If Subgrouping is turned on for a box chart or histogram, you can edit the Gap Between Subgroups and Gap Within Subgroups (%, Negative for Overlap). Please note, the Gap Within Subgroups(%, Negative for Overlap) accepts negative value which will make the columns/bars/boxes in same subgroup overlapped.

Overlap (%, Negative for Gap)

This combo box is available in following two cases:

  • if the data plot is part of grouped plots.
  • if the data plot is in the first layer of a multi-layer column/bar graph which enables the gap across layers.
Note: For a grouped stacked column plot, in the case of Cumulative or Incremental selected for the Offset radio box in Stack tab, this Overlap combo box will only show when the Use Subgrouping (in Group tab) for Cumulative/Incremental check box is checked.

Type or select a value from this combination box. The value is the percentage of column/bar overlapped at a given X value. The percentage value is the relative ratio between the gap/overlap and the column/bar width. A negative value means space(gap) between columns/bars. If the value is 0, there is no gap or overlap.

The default value is 0. The accepted range is from -100 to 100.

Gap between Bars from Different Panels(in %)

For a multiple-panel plot, such as a trellis plot, you can overlap the panels(which means combine the multiple panels to one single panel) by checking the Overlap Panels check box in the Panel tab.

If you do this for a column/bar trellis plot, you can use Gap between Bars from Different Panel edit box in the Spacing tab to add gap between bars from different panels to avoid them from overlapping.

Width (in %)

Specify a dataset to control column/bar width.

Select a column (dataset) from the drop-down list. Dataset values determine the relative column/bar width, in combination with Gap Between and Overlap settings. Values are multiplied by the Scaling Factor(see below).

Accepted values must be greater than or equal to 0. When Width (in %) is 0, the column/bar displays as a vertical/horizontal line.

Scaling Factor

Use this combination box to define the scaling factor for values in the Width (in %) column.

Enter a Scaling Factor by typing or choosing from the drop-down list. The value can be any positive rational number or 0.

When the Factor is 0, the values in the Width (in %) column determine bar width in terms of X axis scale values .

Scaling Factor Zero Ex.png


Specify whether divide the columns/bars/scatters/line+symbols into subsets.

Subset Example.png
Enable Subset We can control if the column should be divided into subsets by this radio button.
  • None: Do NOT divide the columns into subsets
  • By Size: Divide the columns into subsets by a specifying the subset size. If Subset Size is set to be 0, subset is not used.
  • By Column: Divide the columns into subsets by a specifying the column, so that you can use a column of values in an Origin worksheet to control subset size for unbalance grouped column plot.
Gap Between Subsets(%) If Subset Size is not 0, you can specify the Gap Between Subsets (%) by either selecting a number from the drop-down list or you can enter a value directly. This is a percentage of the width of the columns/bars.
Notes: The Subset group only shows when applicable:
  • The plot has automatically assigned X data (The data plot is named as <autoX, Y> in Plot Details dialog). And Trellis must be turned off (on Panel tab, None is selectd for both directions).
  • The plot has arbitrary X data, but the Type of X axis tick label is set as Text from Dataset, and the dataset used to define tick labels is the X data.

© OriginLab Corporation. All rights reserved.