Is there some way to have Geogebra and SAGE interact?

asked 2013-07-01 13:32:41 +0200

Martin Flashman gravatar image

updated 2013-07-01 14:00:37 +0200

kcrisman gravatar image

On my page for The Sensible Calculus Book you will find how I've added SAGE to this page- with interacts for graphs and one of the mapping diagram interacts I am developing from the assistance of Jeff Denny, Jason Grout, and others at Sage 5 Edu.

ALSO- I have a new demo using Geogebra on the same page to do similar things with graphs and mapping diagrams dynamically. Is there some way to have Geogebra and SAGE interact?

edit retag flag offensive close merge delete

Comments

Once upon a time, before public worksheets were disabled, there were examples linked [here](http://trac.sagemath.org/sage_trac/ticket/11489) of how to use the iframe html5 command to do this, and [this ticket](http://trac.sagemath.org/sage_trac/ticket/7489) has a lot more (outdated) information...

kcrisman gravatar imagekcrisman ( 2013-07-01 14:07:28 +0200 )edit

Thanks. I looked at the html.iframe command- this displays a web page- which will allow me to embed a geogebra file in a Sage response. It does allow me to use the interact features and have the geogebra (and Sage) appear (or disappear) on a page-which is a plus. :) But that is not the direct interaction I would like to have. For example: Sage computes the second derivative of a function, and Geogebra takes this result and plots the graph dynamically.

Martin Flashman gravatar imageMartin Flashman ( 2013-07-01 14:36:55 +0200 )edit

Yup! I think that the second ticket I mention had some work in progress on that front.

kcrisman gravatar imagekcrisman ( 2013-07-01 22:57:28 +0200 )edit

I tried to use the files sageogebra.py and sageogebra.2.py but was not able to attach them from my directory ... how do I attach these files supposing they are located in ....... H:/folder/sageogebra.py I tried attach(''file:///H:/folder/sageogebra.py') with the result ..... IOError: did not find file 'file:///H:/folder/sageogebra.py' in load / attach search path

Martin Flashman gravatar imageMartin Flashman ( 2013-07-02 02:29:37 +0200 )edit

I think it would be easier to actually upload them to the notebook, and then you should be able to use attach or load with the `DATA` variable.

kcrisman gravatar imagekcrisman ( 2013-07-02 11:18:31 +0200 )edit