I used to do the same in old geogebra version. But now I find it difficult to copy the tikz code to clipboard. Clicked on download - tikz- export. But not able to directly copy it to latex.
Load the file into eg Notepad then you can copy & paste from there
Comments have been locked on this page!