MESHGRID

Purpose:

Creates 2D XY values from X and Y input series.

Syntax:

(x, y) = MESHGRID(xser, yser)

xser

-

A series, the X range.

yser

-

A series, the Y range.

Returns:

Two arrays of X and Y values.

Example:

(x, y) = meshgrid(-2..0.2..2, -2..0.2..2);

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

 

generates an interesting 2D cosine plot.

 

 

image\fxyvalspic.gif

Remarks:

See FXYVALS to generate XY value from scalar parameters.

See Also:

FXYVALS

GLINE

RAVEL

SETPLOTTYPE