Is there some way to have Geogebra and SAGE interact?

asked 11 years ago

Martin Flashman gravatar image

updated 11 years ago

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?

Preview: (hide)

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 ( 11 years ago )

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 ( 11 years ago )

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

kcrisman gravatar imagekcrisman ( 11 years ago )

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 ( 11 years ago )

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 ( 11 years ago )