OriginLab Corporation - Scientific Graphing and Data Analysis Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis

axis_scroller


Contents

Brief Information

Add a pair of inverted triangles to the bottom X-Axis that allows easy rescaling

Additional Information

X-Function not designed for Auto GetN Dialog.

Command Line Usage

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

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