What's the proper method to plot a Maxima function?  Maybe I'm
misunderstanding the syntax, but something like:

show( maxima("x*sin(x)").plot( x,-5,5 ) )

gives me a graph consisting of axes with "x*sin(x)" printed in the
center of the graph (no plot).

Using plot2d() works, but I'd prefer not to use Gnuplot since I'm
using the web-based notebook and my browser can't display EPS files.

I can also use something like:

L = [(x, maxima.eval( "float(sin(%s))"%x )) for x in range(-5,5)]
show( line(L) )

Is there a simplier way?  AFAIK I can't avoid using Maxima because I'm
using some ODE/Laplace functions that don't exist natively.


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to