2.5.27 laysetscale


Brief Information

Set axes scales for graph layers.

Additional Information

X-Function not designed for Auto GetN Dialog.

This feature is updated in 8.0 SR3. For more details, please refer to Release Notes.

Command Line Usage

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;

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input Graph igp

Input

GraphPage

<active>
Specifies the graph to manipulate.
Layer layer

Input

string

<active>
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

0
Specifies the axis whose scale is to be set.

Option list:

  • x:X
X axis.
  • y:Y
Y axis.
  • z:Z
Z axis.
From from

Input

double

<auto>
Specifies the first scale value.
To to

Input

double

<auto>
Specifies the last scale value.
Increment inc

Input

double

<auto>
Specifies the increment of scale.
Scale Type type

Input

int

<auto>
Specifies the scale type.

Option list:

  • <auto>
Keep the current scale type.
  • linear:Linear
Standard linear scale: X'=X.
  • log10:Log10
Base 10 logarithmic scale: X'=log(X).
  • prob:probability
Represents the inverse of a cumulative Gaussian distribution. Plotting a cumulative Gaussian distribution produces a sigmoidally-shaped curve. This curve, when displayed on a probability scale, appears as a straight line. Since probabilities are expressed as percentages, all values must fall between 0 and 100. The probability scale range is 0.0001 to 99.999.
  • probit:Probit
Like the probability scale, a sigmoidally-shaped curve plots as a straight line. In this case, however, the scale is linear, and the increment between tick marks is exactly one standard deviation. The value "5" on the scale shows the mean, or 50% probability. "6" is one standard deviation away, etc.
  • recip:Reciprocal
Reciprocal scale, where X'=1/X.
  • offset:Offset Reciprocal
Offset reciprocal scale, where X'=1/(X+offset). Offset is defined as 273.14, where 273.14 is the absolute temperature for 0° C.
  • logit:Logit
Logit=ln(Y/(100-Y)). As with the probability and probit scales, a sigmoidally shaped curve plots as a straight line.
  • ln:ln
Natural log scale (base e logarithmic scale).
  • log2:Log2
Base 2 logarithmic scale.

Description

This X-Function can be used to set the axes scales for several graph layers.

Related X-Functions

laymanage, laycopyscale