9.2.8 The (Plot Details) Link Axes Scales Tab

For a graph which includes many layers, this tab is included in the Plot Details dialog box except Layer1.

The (Plot Details) Link Axes Scales tab provides controls to link layers so that the child layer can resize and move with the parent layer.

The Plot Details Link Axes Scales Tab 1.png

Link to

To link the active child layer to parent layer, select the desired layer that you want to link from the Link to drop-down list.

When merging graphs with linked layers, linking relationships within a given graph page are preserved. See The Merge Graph dialog box for details.

X Axis Link

When you select the layer which you want to link in the Link to drop-down list, the X Axis Link tab is active.

None

Select None to remove an existing link between the axes scales.

Straight (1 to 1)

Select Straight (1 to 1) to create a link in which the child layer axes mirror the scale values of the parent layer.

Align

Select Align to specify a value to make the X axes of current child layer and its parent layer align at that value. Once this option is selected and the value is entered, the X axis of current child layer will rescale to implement the alignment.

Custom

Select Custom to create a mathematical relationship between the axes' scales. Specify this relationship using the X1= and X2= text boxes. These variables establish the From and To values for the axes of the child layer. Type the desired mathematical relationship in these text boxes to set the initial and final scale values for the child layer in terms of the parent layer scale values. For example, to set X axis scale values in the child layer to exactly twice the X axis scale values of the parent layer, enter X1 = X1*2 and X2 = X2*2

Note : Origin recognizes X1 and X2 as LabTalk system variables for the From and To axis scale values, respectively. So these expressions say, in another word:

"Take the From axis scale value of layer 1, multiply it by 2, and use the resulting value for the From axis value of layer 2. Take the To axis scale value of layer 1, multiply it by 2, and use the resulting value for the To axis value of layer 2."

Y Axis Link

When you select the layer which you want to link in the Link to drop-down list, the Y Axis Link tab is also active.

None

Select None to remove an existing link between the axes scales.

Straight (1 to 1)

Select Straight (1 to 1) to create a link in which the child layer axes mirror the scale values of the parent layer.

Align

Select Align to specify a value to make the Y axes of current child layer and its parent layer align at that value. Once this option is selected and the value is entered, the Y axis of current child layer will rescale to implement the alignment.

Custom

Select Custom to create a mathematical relationship between the axes' scales. Specify this relationship using the Y1= and Y2= text boxes. These variables establish the From and To values for the axes of the child layer. Type the desired mathematical relationship in these text boxes to set the initial and final scale values for the child layer in terms of the parent layer scale values. For example, to set Y axis scale values in the child layer to exactly twice the X axis scale values of the parent layer, enter Y1 = Y1*2 and Y2 = Y2*2.

Note:
  1. When linking one layer to another, you only have to link one X or one Y axis in a layer, without concerning yourself with the left versus right Y axis or top versus bottom X axis. This is because both X and both Y axes within a given layer share the same scale.
  2. The axis linking relationship is limited to the currently selected axis scale type (the Type drop-down list on the Scale tab of the Axis dialog box).
  3. Origin also provides a mechanism for creating a secondary nonlinear X or Y scale whose values are functionally dependent upon the scale values of the primary X or Y scale. This procedure does not require creating a second layer. For more information, see the Axis Scale Type in the Origin Help file.