On Jan 2, 7:41 am, "William Stein" <[EMAIL PROTECTED]> wrote:
>
> It would be better to try
>   sage: maxima.eval(...)
> above.
>
I tried maxima.eval('plot2d(...)'), returns 'sage1', but no plot.
sage: maxima.eval('plot2d(...)')
'sage1'

> Do
>    sage: octave.eval(...)
> that is equivalent to just typing in the contents of eval to octave.  Doing
>    sage: foo = octave(...)
> is different -- it makes a Python object that wraps an octave object -- this
> makes no sense if ... doesn't evaluate to an octave object.
>

octave.eval(...) works FINE! Thanks for remarks.

>
> In that case, here's a quick remark.  You can easily just draw the above plots
> in Sage directly, without using any of gnuplot/maxima/octave at all:
>
> show(plot([-7.5/-0.5*(x-0.5)+8, -7.5/7.5*(x-0.5)+8, \ ...

Unfortunately I need a more 'sophisticated' graph; with grid, legend
(if possible) and ... blah blah blah so your suggestins and comments
below shows the way I'll 'dig'.

Best regards.
lwd

>
> Sage has extremely good 2d graphics built in, which are built
> on matplotlib:
>
>    http://matplotlib.sourceforge.net/
>
> See
>
>    http://sagemath.org/doc/html/ref/module-sage.plot.plot.html
>
> for how to use it from Sage.   Our goal is that this, plus our new
> interactive 3d graphics (coming soon), will be substantially better
> than gnuplot (which is what both Maxima and Octave rely on
> for the above commands).  If nothing else, the *license* is much
> better than the gnuplot license, which is not GPL-compatible.
> This is why Sage cannot include gnuplot, and programs
> such as Octave and Maxima can't (legally) binary link with
> gnuplot.  If you check the Octave devel mailing list, you'll see
> one of the main pushes in Octave development right now is
> a new graphics engine so that can get away from gnuplot.
>
>  -- William
>
> --
> William Stein
> Associate Professor of Mathematics
> University of Washingtonhttp://wstein.org

--~--~---------~--~----~------------~-------~--~----~
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