Set axes scales for graph layers.
X-Function not designed for Auto GetN Dialog.
This feature is updated in 8.0 SR3. For more details, please refer to Release Notes.
1.laysetscale layer:=1 axis:=y from:=0 to:=1;
2.laysetscale igp:=Graph1 layer:="1:3" axis:=x from:=1 to:=10;
3.laysetscale igp:=Graph1 layer:=1:3 axis:=x from:=1 to:=10;
4.laysetscale igp:=Graph1 layer:=1:3 axis:=x from:=1 to:=100 inc:=1 type:=2;
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Input Graph | igp |
Input GraphPage |
|
Specifies the graph to manipulate. |
Layer | layer |
Input string |
|
Specifies the layer(s) to manipulate. Note: to specify multiple layers, use colon to separate the first layer and the last layer to manipulate. For example, "1:3" means the first, second and the third layer. |
Axis | axis |
Input int |
|
Specifies the axis whose scale is to be set.
Option list:
|
From | from |
Input double |
|
Specifies the first scale value. |
To | to |
Input double |
|
Specifies the last scale value. |
Increment | inc |
Input double |
|
Specifies the increment of scale. |
Scale Type | type |
Input int |
|
Specifies the scale type.
Option list:
|
This X-Function can be used to set the axes scales for several graph layers.