next up previous contents index
suivant: 3-d graph with rainbow monter: Graph of a function précédent: 2-d graph   Table des matières   Index


3-d graph

plotfunc takes two main arguments : an expression of two variables or a list of several expressions of two variables and the list of these two variables, where each variable may be replaced by an equality variable=interval to specify the range for this variable (if not specified, default values are taken from the graph configuration). plotfunc accepts two optional arguments to specify the discretisation step in x and in y by xstep=... and ystep=.... Alternatively one can specify the number of points used for the representation of the function with nstep= (instead of xstep and ystep).
plotfunc draws the surface(s) defined by z = the first argument.
Input :
plotfunc( x^2+y^2,[x,y])
Output :
A 3D graph of z=x^2+y^2
Input :
plotfunc(x*y,[x,y])
Output :
The surface z=x*y, default ranges
Input :
plotfunc([x*y-10,x*y,x*y+10],[x,y])
Output :
The surfaces z=x*y-10, z=x*y and z=x*y+10
Input :
plotfunc(x*sin(y),[x=0..2,y=-pi..pi])
Output :
The surface z = x*y for the specified ranges
Now an example where we specify the x and y discretisation step with xstep and ystep. Input :
plotfunc(x*sin(y),[x=0..2,y=-pi..pi],xstep=1,ystep=0.5)
Output :
A portion of surface z = x*y
Alternatively we may specify the number of points used for the representation of the function with nstep instead of xstep and ystep, input :
plotfunc(x*sin(y),[x=0..2,y=-pi..pi],nstep=300)
Output :
A portion of surface z = x*y
Remarks


next up previous contents index
suivant: 3-d graph with rainbow monter: Graph of a function précédent: 2-d graph   Table des matières   Index
giac documentation written by Renée De Graeve and Bernard Parisse