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

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

 

 

fxyval1.png

 

W1 generates an interesting 2D cosine plot.

Remarks:

See FXYVALS to generate XY value from scalar parameters.

See Also:

FXYVALS

GLINE

PEAKS

RAVEL

SETPLOTTYPE

SHADEWITH