On Mon, Jan 12, 2009 at 3:43 PM, Bob Holdom <hol...@mac.com> wrote:
>
> The example worksheet below shows a 3d animation.
>
> The "/Users/bob/.sage/sage_notebook/worksheets/admin/" string needs to
> be replaced as appropriate.
>
> trick(x,y) needs the worksheet number x and the cell number y. The 0
> in trick(0,1) needs to be replaced as appropriate.
>
> The question then is, would it be difficult for the notebook interface
> to display Maple graphics automatically, without the need of trick
> (x,y)?

Do you have any idea how this would work?  I mean, what would Sage
actually do?   I don't mean "how would it be implemented in Sage", but
if you could program sage in natural language, how would you describe
what you're asking for right now?  Just curious.

Thanks for the example, by the way.

>
> {{{id=0|
> %maple
> trick:=proc(x,y) \
> plotsetup(gif,plotoutput=cat("/Users/bob/.sage/sage_notebook/
> worksheets/admin/", \
> convert(x,string),"/cells/",convert(y,string),"/sage0.gif"), \
> plotoptions="width=900,height=556") end:
> ///
> }}}
>
> {{{id=1|
> %maple
> trick(0,1);
> plots[animate]( plot3d, [sin(A)*(x^2+y^2), x=-2..2, y=-2..2],
> A=0..2*Pi );
> ///
> }}}
>
>
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to