2.5.7 axis_scroller


Brief Information

Add markers to X axis for easy rescale

Additional Information

X-Function not designed for Auto GetN Dialog.

Command Line Usage

axis_scroller igl:=[Graph1]Layer1 top:=1 xsize:=2 ysize:=2;

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
Input Graph igl

Input

GraphLayer

<active>
Specify the graph layer to which a scroller is added. The default input is the active graph layer.
top

Input

int

0
Specify where to add the scroller, top X axis or bottom X axis. The scroller is added to the bottom X axis by default. When this variable is 1, the scroller will added to the top X axis.
Input xsize

Input

double

1
The scroller is two inverted triangles on the beginning and ending of the X axis. This variable is used to set the horizontal size of these two triangles.
Input ysize

Input

double

1
The scroller is two inverted triangles on the beginning and ending of the X axis. This variable is used to set the vertical size of these two triangles.

Description

The axis_scroller function adds a pair of inverted triangles to the X-Axis that allows easy rescaling. You can decide to which X-Axis these two inverted triangle to add, the top one or the bottom one. Also, the size of these two triangles can be specified. To rescale the X-Axis, you can click on the left triangle and drag it to a new place to set a new starting scale value of the X axis, or use the right triangle to set a new ending scale value of the X axis.

Related X-Functions

axis_scrollbar


Keywords:rescaling