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

cxt

Contents

Brief Information

Shift the x values of the active curve with different mode

Command Line Usage

cxt 1 10; // shift the plot 1 to right by 10

cxt 1 10 4; // shift the peak of the curve to 10

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Curve to Translate iy

Input/Output

XYRange

<active>
Curve to Translate
Shift Value depending on Mode val

Input

double

0
Specify the shift value
X Data Shifting Mode mode

Input

int

val
Mode to shift X

Option list:

  • val:Specified Amount
Shift X by val directly
  • beg:First Point to
Shift begin point to val
  • end:Last Point to
Shift end point to val
  • low:Minimum To
Shift valley position to val
  • high:Maximum To
Shift peak position to val
Actual X Shift Amount odx

Output

double

<optional>
Output actual X shift amount

Description

Shift curve in X direction according to the different modes