plotfunc(f(x),x) draws the graph of y=f(x) for x in
the default interval,
plotfunc(f(x),x=a..b) draws the graph of y=f(x) for a≤ x≤ b.
plotfunc accepts an optional xstep=...
argument to
specify the discretization step in x.
Input :
^
2-2)or :
^
2-2,a=-1..2)Output :
^
2-2Input :
^
2-2,x,xstep=1)Output :
^
2-2
It is also possible to specify the number of points used for the
representation of the function with nstep=
instead of xstep=
.
For example, input :
^
2-2,x=-2..3,nstep=30)