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

Customizing Graph Layer Elements


The Plot Details dialog box layer-level tabs provide controls for layer color, layer size, data clipping, hiding graph elements, scaling of elements when the layer is resized, and the skipping of data points. While the graph window contains only a single page, it can contain multiple graph layers, and each layer may be configured independently using these layer-level controls.

Image:Customizing Graph Layer Elements-1.png

Contents

Displaying a layer background color and adding a border

By default, the layer does not display a background color; it is transparent. Any color that is subsequently applied to the graph page also displays in each layer on the page. The layer border is a bounding box outside of the layer frame. Controls for adding a layer (background) color and a border are found on the Background tab of the layer's Plot Details dialog box.

To add a background color to a layer:

  1. Select the desired color from the Color drop-down list (None = transparent).

To display the layer border:

  1. Select a border from the Border Style drop-down list.

Controlling the size of the graph layer

You can make approximate adjustments to the size of the graph layer by selecting the layer and dragging a control handle.

To move or resize the layer:

  1. Click on the border to select it. Control handles display.
  2. Move or resize the border in the same way as you would other objects.
Image:Customizing Graph Layer Elements-2.png

To make more precise adjustments, you can edit the layer dimensions using controls on the Size/Speed tab of the layer's Plot Details dialog box.

To open the Size/Speed tab of Plot Details:

  1. With the graph window active, select Format: Layer.
  2. Select the Size/Speed tab.

To numerically position or resize the layer, type values in the Left, Top, Width, and Height text boxes. The Left text box value determines the position of the frame relative to the left side of the page. The Top text box value determines the position of the frame relative to the top of the page. The Height and Width text box values determine the size of the frame. Specify the units with the Units drop-down list.

Note:

  • When the unit selection is changed in the drop-down list, the Left, Top, Height, and Width text box values are automatically updated so that the layer retains the same size and position.
  • When you set the size of the layer, you are also setting the size of the axes in the layer. To set the layer (and thus the axes) to a specific width and height, select the units (for example, inch, cm, or mm) from the Units drop-down list in the Layer Area group, then enter the dimensions in the Width and Height text boxes.

Increasing screen redraw speed: Graphing image caching and selective plotting of data

Speed mode and graphic image caching controls are on the Size/Speed tab of the layer's Plot Details dialog box.

Scaling elements

There are a number of graph elements that may be resized when you resize the graph layer. These include axis tick labels, label objects such as the graph legend and possibly added graph annotations (text and drawing objects). Since you may or may not want this to happen, there is a Plot Details setting that provides control over element scaling.

Use of the layer's Scale Elements controls are covered in the following topics in the Origin Help file:

Showing and hiding elements

The Plot Details Display tab contains controls for showing or hiding various graph elements. To learn more see Hiding elements in the graph layer in the Origin Help file.

Data plot drawing options

The Display tab of Plot Details also has controls for:

To learn more, see Controlling the Display and Scaling of the Objects in a Layer in the Origin Help file.

Data clipping and layer margins

Data plots that extend beyond the layer frame, or beyond the customized clipping margins, can be hidden from view.

To clip the data plot in the active graph layer:

  1. Select Format: Layer. This opens the Plot Details dialog box with the layer icon selected on the left side of the dialog box.
  2. Select the Display tab and then select the Clip Data To Frame check box in the Data Drawing Options group. To view the clipped data, clear this check box.

To set the clipping margins inside or outside the layer frame:

  1. Type the margin value percentages in the Horizontal and Vertical text boxes in the Data Drawing Options group.
  2. Type a negative value to clip the data plot to a point outside the frame.
  3. Type a positive value to clip the data plot to a point inside the frame.