2.5.37 newpanel

Brief Information

Create new graph page with mxn layers

Command Line Usage

1. newpanel col:=2 row:=3;

2. newpanel name:="MyGraph" optn:=ls result:=realname$;

3. newpanel top:=10 bottom:=10 left:=5 right:=5;

4. newpanel col:=2 row:=2 vg:=10 hg:=8;

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Number of Columns col

Input

int

1

Specifies the number of columns.

Number of Rows row

Input

int

1

Specifies the number of rows.

Desired Graph Page Name name

Input

string

"Graph1"

Specifies the desired graph page name.

Real Graph Page Name result

Output

string

gname

Specifies the output for the real graph name.

Vertical Gap vg

Input

int

5

Specifies the vertical gap between the rows, measured in % of page dimension.

Horizontal gap hg

Input

int

5

Specifies the horizontal gap between the columns, measured in % of page dimension.

Top Margin top

Input

int

11.6

Specifies the top margin, measured in % of page dimension.

Bottom Margin bottom

Input

int

16.6

Specifies the bottom margin, measured in % of page dimension.

Left Margin left

Input

int

17.9

Specifies the left margin, measured in % of page dimension.

Right Margin right

Input

int

13.9

Specifies the right margin, measured in % of page dimension.

Name Option optn

Input

int

long

Specifies whether the desire name should be used for long name only or both long and short names
Option list

  • long:Long name only
    Only the long name of the graph page will be set.
  • ls:Long and short name
    Both the long name and the short name of the graph page will be set.
Template template

Input

string

"origin.otp"

Specifies the template for the new graph page.

Description

This function creates a new graph page, which could contain multiple panels. You may specify the margins and gaps, the name of the page and the template.

Related X-Functions

newinset, layadd


Keywords:panels