# 2.5.24 laymxn

## Contents

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; 

## Variables

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

Input

int

<unassigned>

Specifies the number of rows.

Number of Columns col

Input

int

<unassigned>

Specifies the number of columns.

Direction dir

Input

int

0

Specifies the direction for arranging graph layers.

Option list:

• 0=horz:Horizontal First
Arrange layers in horizontal direction first
• 1=vert:Vertical First
Arrange layers in vertical direction first
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.