FXYVALS

Purpose:

Creates 2D XY values.

Syntax:

(x, y) = FXYVALS(xl, xu, xinc, yl, yu, yinc)

xl

-

A real. The lower X value.

xu

-

A real. The upper X value.

xinc

-

A real. The X increment.

yl

-

A real. The lower Y value.

yu

-

A real. The upper Y value.

yinc

-

A real. The Y increment.

Returns:

Two arrays of X and Y values.

Example:

(x, y) = fxyvals(-2, 2, .1, -2, 2, .1);

W1: cos(x*y);setplottype(4);plasma

 

 

fxyval1.png

W1 generates an interesting 2D cosine plot.

Remarks:

FXYVALS is used by the Generate 2D data creation function.

 

See MESHGRID to generate XY values from two input series.

See Also:

GLINE

MESHGRID

PEAKS

RAVEL

SETPLOTTYPE

SHADEWITH