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

xyz_regular

Contents

Brief Information

Regular Gridding

Command Line Usage

1. xyz_regular;

2. xyz_regular Col(3);

3. xyz_regular zi:=(1,2,3);

4. xyz_regular mo:=[MyMatrix]Sheet1;

Variables

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

Input

XYZRange

<active>

Specifies the input XYZ range.

Output Matrix om

Output

MatrixObject

<new>

Specifies the output destination matrix.

See the syntax here.

Description

In order for XYZ worksheet data to be classified as Regular, the XY data must meet the following requirements:

1. Each X value must have the same number of Y values and each Y value must have the same number of X values. And

2. Both the X and the Y data values must be equally spaced. To check for regularity, you canplot the XY data set as a line and symbol graph:

Image:xyz_regular_image10.gif

If your data satisfies the above criteria, you can convert your worksheet to a matrix using the Regular method and get a matrix filled with z values:

Image:xyz_regular_image11.gif

Examples

  1. Click File: Import: Simple Single ASCII, import XYZ Regular.dat on \Samples\Matrix Conversion and Gridding folder.
  2. Highlight and right-click column C, and choose Set As:Z.
  3. Type xyz_regular in the command window and press Enter.

For more examples, please refer to XF Script Dialog (press F11).

Related X-Functions

xyz_renka, xyz_renka_nag, xyz_shep, xyz_shep_nag, xyz_sparse, xyz_tps