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

layarrange

Contents

Brief Information

Arrange the layers on the graph.

Command Line Usage

1. layarrange row:=2 col:=3 xgap:=15 ygap:=10;

2. layarrange igp:=graph2 row:=2 col:=2 left:=15 top:=10;

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input Graph igp

Input

GraphPage

<active>

Specifies the graph to manipulate. By default, the active graph is used as input.

Row row

Input

int

<unassigned>

Specifies the number of rows.

Col col

Input

int

<unassigned>

Specifies the number of columns.

X Gap xgap

Input

int

5

Specifies the horizontal gap between two adjacent layers.

Y Gap ygap

Input

int

5

Specifies the vertical gap between two adjacent layers.

Left Margin left

Input

int

15

Specifies the left margin of the graph.

Right Margin right

Input

int

15

Specifies the right margin of the graph.

Top Margin top

Input

int

15

Specifies the top margin of the graph.

Bottom Margin bottom

Input

int

15

Specifies the bottom margin of the graph.

Description

This X-Function can be used to arrange the graph layers into a grid.

Examples

For more examples, please refer to XF Script Dialog (press F11).


Related X-Functions

laymanage, laysetpos, layalign