2.5.38 newinset

Brief Information

Create a new graph page with inset layer

Command Line Usage

1. newinset inset:=2;

2. newinset inset:=3 name:="Three Insets" result:=GraphName;

3. newinset inset:=2 template:="Mytemplate.otp";

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 Insets inset

Input

int

1

Specifies the number of insets.

Name name

Input

string

"Graph1"

Specifies the desired graph name.

Output Graph result

Output

string

gname

Specifies the real graph name.

Option optn

Input

int

long

Specifies whether the short name should be set to the desired name.
Option list

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

Input

string

"origin.otp"

Specifies the template used for the new graph page.

Description

This function creates a new graph page with insets. You can specify the number of insets, the long name and short name of the graph page and the template used for creating the graph page.

Related X-Functions

newpanel, layadd