2.5.24 laymxn


Menu Information

Graph: Arrange Layers

Brief Information

Change a graph to m*n layers

Command Line Usage

1. laymxn row:=2 col:=4 autofit:=0 pageunit:=cm width:=25 height:=30 unit:=mm xgap:=4 ygap:=6;

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Number of Rows row

Input

int

<unassigned>

Specifies the number of rows.

When the graph is a Tile Grid Map, this option will be hidden.

Number of Columns col

Input

int

<unassigned>

Specifies the number of columns.

When the graph is a Tile Grid Map, this option will be hidden.

Direction dir

Input

int

0

Specifies the direction for arranging graph layers. When the graph is a Tile Grid Map, this option will be hidden.

Option list:

  • 0=horz:Horizontal First
    Arrange layers in horizontal direction first
  • 1=vert:Vertical First
    Arrange layers in vertical direction first
Index of Rows irow

Input

string

<unassigned>
When the graph is a Tile Grid Map, Number of Rows will change to Index of Rows which is drop-down list to let you select a column label row of source data to arrange the layers.
Index of Columns icol

Input

string

<unassigned>
When the graph is a Tile Grid Map, Number of Columns will change to Index of Columns which is drop-down list to let you select a column label row of source data to arrange the layers.
Use Alternate Side to Show Ticks and Labels alternate

Input

int

0

Specifies whether to show Axis Ticks and Labels on left and right side (bottom and top) alternately in the graph layers.

Option list:

  • 0=false
  • 1=true


Note: This variable is only available in Stack graph. That means either the Number of Rows or Number of Columns must be 1, but not both to be 1.
When Number of Columns=1 and Number of Rows>1, the layers are stacked in vertical, and the layers shows Y axis on left and right alternately.
When Number of Rows=1 and Number of Columns>1, the layers are stacked in horizontal, and the layers shows X axis on bottom and top alternately.

Keep Layer Size and Auto Fit Page Size autofit

Input

int

1

Specifies whether to keep layers size and auto fit page size.

Option List:

  • 0=false
  • 1=true
Units pageunit

Input

int

0

When you set not to keep Layer Size and Fit Page Size (autofit=0). Specifies the unit of both Width and Height for the graph page size.

Option List:

  • 0=inch:inch
  • 1=cm:cm
  • 2=mm:mm
  • 3=pixel:pixel
  • 4=point:point
Width width

Input

double

<auto>

Specifies the width of the selected graph page.

Height height

Input

double

<auto>

Specifies the height of the selected graph page.

Units unit

Input

int

0

Specifies the unit for the graph spacing..

Option List:

  • 0=inch:inch
  • 1=cm:cm
  • 2=mm:mm
  • 3=pixel:pixel
  • 4=point:point
  • 7=page:% of Page
Horizontal Gap xgap

Input

double

<auto>

Specifies the horizontal gap between two adjacent layers.

Vertical Gap ygap

Input

double

<auto>

Specifies the vertical gap between two adjacent layers.

Input Graph igp

Input

GraphPage

<active>
Specifies the input graph. By default, the active graph window will be selected. This option is only available for script access.

Related X-Functions

laymanage, laysetpos, layalign, layarrange