2.2.3.4 colint

Menu Information

Column: Set Sampling Interval

Brief Information

Set sampling interval for selected Y columns

Command Line Usage

1. colint rng:=Col(2) x0:=10 inc:=5;
2. colint rng:=Col(2) x0:=2.5 inc:=1.25 units:="s" lname:="Second";

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
Column(s) rng

Input/Output

Range

<active>
The XYRange of data to be set sampling interval.
Initial X Value x0

Input

double

1
This variable specifies the initial X value.
X Increment inc

Input

double

1
This variable specifies the X Increment.
Units units

Input

string

This variable specifies the Units.
Long Name lname

Input

string

This variable specifies the Long Name.

Description

This X-Function is used to set Sampling Interval (Implicit X) for selected Y columns.

Examples

// This function sets internal X values for a column
// based on a start value and an increment
newbook;
colint rng:=1 x0:=-10 inc:=.01 units:=(msec) lname:=Time;

// This equivalent code uses column properties
wks.col2.xinit=-10;
wks.col2.xinc=.01;
wks.col2.XUNITS$ = (msec);
wks.col2.XNAME$ = Time;

Keywords:implicit