plot hyperbola using data from excel

awaludin1976 shared this question 1 year ago
Answered

I have excel spreadsheet which contains the coordinates of focus and points to plot hyperbola. Is it possible to use any script to plot the hyperbola by reading data from excel (or maybe from a text file) ? lets say that I have information like this in a text file

hyperbola((3,0),(-3,0),(-1.234,0)

hyperbola((3,0),(0,3),(1.534,1.234))

hyperbola((3,0),(0,-3),(1.342,,1.3234))

hyperbola((0,3),(-3,0),(-1.234,1.354))

hyperbola((0,3),(0,-3),(0,2.5446))

hyperbola((-3,0),(0,-3),(-1.4345, -1.3434))

thanks.

Comments (2)

photo
1

If you copy and paste the numbers into GeoGebra's spreadsheet then you can define

G1 = Hyperbola((A1,B1), (C1, D1), (E1, F1))
and copy that down to G2, G3 etc


If that's not what you want then you can do something with the API

https://wiki.geogebra.org/e...

photo
1

I don't want to use copy paste, because for each graph I have 6 hyperbolas and I have more than 1000 graph. The number and text can be generated by VBA to Excel's cells but I will require a lot of time to copy paste them to Geogebra.

© 2019 International GeoGebra Institute