Man Scilab

fcontour2d
Scilab Function

fcontour2d - level curves of a surface defined by a function on a 2D plot

Calling Sequence

fcontour2d(xr,yr,f,nz,[style,strf,leg,rect,nax])
fcontour2d(xr,yr,f,nz,<opt_args>)

Parameters

Description

Draws level curves of a surface z=f(x,y) . The level curves are drawn on a 2D plot. The surface is given by the external function f . See contour2d .

You can change the format of the floating point number printed on the levels by using xset("fpf",string) where string gives the format in C format syntax (for example string="%.3f" ). Use string="" to switch back to default format and Use string=" " to suppress printing.

Enter the command fcontour2d() to see a demo.

Examples


deff('z=surf(x,y)','z=x^4-y^4')
x=-3:0.1:3;
y=x;
fcontour2d(x,y,surf,10);
 
  

See Also

contour ,   contour2d ,   fcontour ,  

Author

J.Ph.C.

Back