ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 02 Jul 2013 16:03:09 +0200Is there some way to have Geogebra and SAGE interact?https://ask.sagemath.org/question/10306/is-there-some-way-to-have-geogebra-and-sage-interact/ On my page for [The Sensible Calculus Book](http://users.humboldt.edu/flashman/senscalca_x.html) 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? Mon, 01 Jul 2013 13:32:41 +0200https://ask.sagemath.org/question/10306/is-there-some-way-to-have-geogebra-and-sage-interact/Comment by kcrisman for <p>On my page for <a href="http://users.humboldt.edu/flashman/senscalca_x.html">The Sensible Calculus Book</a> 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.</p>
<p>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? </p>
https://ask.sagemath.org/question/10306/is-there-some-way-to-have-geogebra-and-sage-interact/?comment=17382#post-id-17382I 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.Tue, 02 Jul 2013 11:18:31 +0200https://ask.sagemath.org/question/10306/is-there-some-way-to-have-geogebra-and-sage-interact/?comment=17382#post-id-17382Comment by kcrisman for <p>On my page for <a href="http://users.humboldt.edu/flashman/senscalca_x.html">The Sensible Calculus Book</a> 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.</p>
<p>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? </p>
https://ask.sagemath.org/question/10306/is-there-some-way-to-have-geogebra-and-sage-interact/?comment=17399#post-id-17399Yup! I think that the second ticket I mention had some work in progress on that front.Mon, 01 Jul 2013 22:57:28 +0200https://ask.sagemath.org/question/10306/is-there-some-way-to-have-geogebra-and-sage-interact/?comment=17399#post-id-17399Comment by kcrisman for <p>On my page for <a href="http://users.humboldt.edu/flashman/senscalca_x.html">The Sensible Calculus Book</a> 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.</p>
<p>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? </p>
https://ask.sagemath.org/question/10306/is-there-some-way-to-have-geogebra-and-sage-interact/?comment=17405#post-id-17405Once 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...Mon, 01 Jul 2013 14:07:28 +0200https://ask.sagemath.org/question/10306/is-there-some-way-to-have-geogebra-and-sage-interact/?comment=17405#post-id-17405Comment by Martin Flashman for <p>On my page for <a href="http://users.humboldt.edu/flashman/senscalca_x.html">The Sensible Calculus Book</a> 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.</p>
<p>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? </p>
https://ask.sagemath.org/question/10306/is-there-some-way-to-have-geogebra-and-sage-interact/?comment=17376#post-id-17376I uploaded them to the notebook, but was not able to load with the DATA variable.
>>>> DATA+'sageogebra.py' worked to give an address:
'/sagenb/servers/sage_notebook-sagenb.sagenb/home/Martin_Flashman/11/dat\
a/sageogebra.py' .......this was recognized by Sage: attach(DATA +'sageogebra.py')
Sage:A=geogebra_applet()
BUT adding the show line returned some screen confusion
Sage:A.show()
AND the eval_command line Sage:A.eval_command('P = (1,1)') GAVE a popup-- Document applets[0] is undefined.
I would be happy to have someone share/look at this worksheet.
Tue, 02 Jul 2013 16:03:09 +0200https://ask.sagemath.org/question/10306/is-there-some-way-to-have-geogebra-and-sage-interact/?comment=17376#post-id-17376Comment by Martin Flashman for <p>On my page for <a href="http://users.humboldt.edu/flashman/senscalca_x.html">The Sensible Calculus Book</a> 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.</p>
<p>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? </p>
https://ask.sagemath.org/question/10306/is-there-some-way-to-have-geogebra-and-sage-interact/?comment=17398#post-id-17398I 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 pathTue, 02 Jul 2013 02:29:37 +0200https://ask.sagemath.org/question/10306/is-there-some-way-to-have-geogebra-and-sage-interact/?comment=17398#post-id-17398Comment by Martin Flashman for <p>On my page for <a href="http://users.humboldt.edu/flashman/senscalca_x.html">The Sensible Calculus Book</a> 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.</p>
<p>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? </p>
https://ask.sagemath.org/question/10306/is-there-some-way-to-have-geogebra-and-sage-interact/?comment=17404#post-id-17404Thanks.
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. Mon, 01 Jul 2013 14:36:55 +0200https://ask.sagemath.org/question/10306/is-there-some-way-to-have-geogebra-and-sage-interact/?comment=17404#post-id-17404