plot(totient(x))?



First method:

(%i11) plot2d(totient(floor(x)),[x,0,20])$

Second method (nicer):

(%i12) xx : makelist(i,i,1,20)$
(%i13) yy : map('totient,xx)$
(%i14) plot2d([discrete, xx,yy], [style, points])$

Barton

-----maxima-bounces at math.utexas.edu wrote: -----

>To: maxima at math.utexas.edu
>From: "Carlo Nucera" <meditans at gmail.com>
>Sent by: maxima-bounces at math.utexas.edu
>Date: 08/09/2007 05:54AM
>Subject: plot(totient(x))?
>
>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.
>
>Thanks
>meditans
>_______________________________________________
>Maxima mailing list
>Maxima at math.utexas.edu
>http://www.math.utexas.edu/mailman/listinfo/maxima