Get some points on .txt

Camile shared this question 2 years ago
Answered

Hello,

I just created a graph with points and i want to use these points with another program. To do this I need a .txt file containing all the coordinates. Do you know how to do to get all coordinates in one file? I am using Geogebra classic version I guess.

Best Answer
photo

Create a selection rectangle enclosing all the points, then select the List tool to create the list containing these points.

Select the list in Algebra View, and press the F4 key of your keyboard to get the list in the input bar,

Select the content of the Input Bar and the shortcut Ctrl+C copies the list in the Clipboard of your computer.

Open your destination software, and use the shortcut Ctrl+V to paste the content of your Clipboard in it.

Comments (5)

photo
1

graph has a wide meaning...

- having a function term f(x) make a list with sequence((k,f(k)),k,start,end) in CAS

- having single points write this in a list {a,b,..} in CAS

and copy the output

photo
2

Create a selection rectangle enclosing all the points, then select the List tool to create the list containing these points.

Select the list in Algebra View, and press the F4 key of your keyboard to get the list in the input bar,

Select the content of the Input Bar and the shortcut Ctrl+C copies the list in the Clipboard of your computer.

Open your destination software, and use the shortcut Ctrl+V to paste the content of your Clipboard in it.

photo
2

If you are using Classic v.6 you can also get the contents of the list by selecting the three dots icon at the end of the Input row containing the list, then select Duplicate output in the displayed context manu.

photo
2

Put this command in a button


ggbApplet.copyTextToClipboard(ggbApplet.getValueString("l1"))


eg https://www.geogebra.org/m/fbpq5mke

photo
1

Ok thank you very much it works!

© 2023 International GeoGebra Institute