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, .2, -2, 2, .2);

cos(x*y);setplottype(4);rainbow

 

generates an interesting 2D cosine plot.

 

 

image\fxyvalspic.gif

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

RAVEL

SETPLOTTYPE