What is the text command to label x and y axes?

Gene L. Harding shared this question 1 week ago
Answered

Also, is there a list somewhere of all of the GeoGebra input commands?

Comments (4)

photo
2

Sorry, there's no command for that.


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

photo
2

if you need change the label with a script you can create a text in a point using Text("mi label", (0, y(Corner(4) - 0.3)))

photo
2

Hi Gene!


Hmm, sure that you need a special input command?

You can change it "by hand".

Go "Graphic" -> "properties" -> "xAxes" and ... :-)


Greetings

mire2

photo
1

Hi mathmagic and mire2,

Thank you. I can get what mathmagic suggested to work in a GeoGebra window, but I am embedding a GeoGebra plotting window inside a LON-CAPA quiz problem, so I need to either do it via line command or embed it into the GeoGebra applet before I import it into LON-CAPA.

I cannot get the approach suggested by mathmagic to work within a javascript section inside LON-CAPA. It looks like I will have to hard-code it into the GeoGebra applet before I import it; less flexible, but usable.

Thank you for your quick feedback.

Best regards,Gene

photo
© 2018 International GeoGebra Institute