#

Graph of a function

A possible way to draw the graph of
is using the command `plot`

. You should draw the graph using that command when the function
is described by an array of function values. However, when you have a function file, for instance `f.m', which describes the specific function
there is an alternative way. It is based on the command `ezplot`

. For example,
>> ezplot('f(x)',[-2 3])

The command `ezplot`

stands for easy-to-use function plotter. It plots the function
over a specific domain. The expression
has to be put between quotes ('). The plotting interval is given as a row vector consisting of the left endpoint and the right endpoint. The advantage of using this command is that it is easy (`ez') to change the interval to investigate the graph of
in more detail.

Esteur
2010-03-22