>Is there any way to channel through the variables from the %mathpiper
>fold to %geogebra fold? I am looking for like a global variable
>between the folds.
>I am aware of the two(2) functions GeoGebraPoint() and GeoGebraPlot()
>as calling functions inside the %mathpiper fold.
>...
> I cannot find the documents for GeoGebraPlot() and GeoGebraPoint().
> When can I find more information about the two functions?
Support for communications between MathPiper, MathPiperIDE, and
GeoGebra is still experimental and mostly undocumented at this point
in time. I am waiting for GeoGebra 4.0 to be released later this
summer before I start working on the communications between these
three again.
Would you be able to explain in more detail the overall goal you are
trying to achieve?
Thanks,
Ted
> Thank you for your answer to my questions regarding the GeoGebraPlot()
> and GeoGebraPoint(). I understand these two functions be the enough
> "channel" between the two program spaces. But, I wanted to find more
> information about the "properties" of the functions so that I can
> maximally utilize those.
I created the GeoGebraPlot() and GeoGebraPoint() functions to
experiment with using the GeoGebra JavaScript interface to allow
MathPiper and GeoGebra to interact with each other:
http://www.geogebra.org/en/wiki/index.php/GeoGebra_JavaScript_Methods
Here is the source code for GeoGebraPoint():
10 # GeoGebraPoint(name_IsString, x_IsNumber, y_IsNumber) <--
[
Local(command);
command := PatchString("<?Write(ToAtom(name));?>=(<?Write(x);?>,<?Write(y);?>)");
JavaCall(geogebra,"evalCommand",command);
];
%/mathpiper
The 'geogebra' variable contains a reference to GeoGebra's JavaScript
interface and JavaCall() is being used to send a command to GeoGebra
which will place a point in the drawing area.
GeoGebraPoint() and GeoGebraPlot() have not been officially added to
MathPiper yet because I would like to get input from mathematics
teachers first to see if this is a good way for MathPiper to interact
with GeoGebra. I have been waiting until after GeoGebra 4.0 is
officially released to start asking mathematics teachers for ideas
about what MathPiper/GeoGebra interaction should look like. However,
if you are interested in discussing this topic now, I would be more
than happy to do so :-)
> Secondly, I have found many interesting Plug-Ins in your MathPiperIDE.
> I wanted to look into more about those such as ThreeDXplorMathJ,
> LaTexTools and JFreeChart.
> (1) I find some documents for the TrheeDXplorMathJ from one of the
> menu in the Plug-In.
> (2) I do not find for the LaTexTools.
> (3) And, the JFreeChart documentation from the http://www.jfree.org is
> all for programmers providing Classes.
Help on the LaTeX Tools plugin can be found in Help->MathPiperIDE
Help->Plugins->LaTeX Tools.
The ThreeDXplorMathJ plugin is still experimental and no
communications between MathPiper and this plugin have been created
yet.
The only functions that currently communicate with the JFreeChart
plugin are BarChart(), CumulativePlot(), Histogram(), LineChart(), and
ScatterPlot() and documentation for these is in the MathPiperDocs
plugin. If you see some JFreeChart charts that you would also like to
have MathPiper support, let me know and we can discuss them.
One thing I should probably explain on the MathPiper website is that
MathPiperIDE is designed to be an experimental test bed for
determining good ways for a CAS to interact with various (mostly
GUI-based) applications. It usually only takes a few hours to create
new plugin so that people can start experimenting with it. However,
the hard part is figuring out good ways for MathPiper to interact with
these plugins.
If you are interested in helping us determine how MathPiper should
interact with various plugins, that would be great!
Ted
> Again, I do not have enough experience with your mathpiper. I was led
> from GeoGebra manual to the mathpiper site. But, I was hopping to find
> it something a driving application to the GeoGebra.
Have you looked into using JavaScript to script GeoGebra? GeoGebra 4.0
has a significant amount of JavaScript scripting support and it may
provide what you are looking for.
Ted