Scilab Function

contour2di - compute level curves of a surface on a 2D plot

Calling Sequence

[xc,yc]=contour2di(x,y,z,nz)

Parameters

Description

contour2di computes level curves of a surface z=f(x,y) on a 2D plot. The values of f(x,y) are given by the matrix z at the grid points defined by x and y.

xc(1) contains the level associated with first contour path, yc(1) contains the number N1 of points defining this contour path and (xc(1+(1:N1)), yc(1+(1:N1)) ) contain the coordinates of the paths points. The second path begin at xc(2+N1) and yc(2+N1) and so on.

Examples

See Also

Author