On 8/9/07, Carlo Nucera <meditans at gmail.com> wrote:
> There is a simple (maybe stupid) question that I will ask you: how can
> I plot the function totient(x)?
> Using plot2d returns me nothing, while I manage to draw simple
> function such as F(x) where F is an algebraic polynomial.
The totient is defined only for integer values. You can plot with
plot2d([discrete, makelist([i, totient(i)], i, 1, 10)]);
Another option is to use the dataplot function in the descriptive package.
--
Andrej