Changes the color of the axis in the 3D graphics.[br][br]But with recent versions of GeoGebra, now we can just change the color from the main 3D settings. :)
1. Create any object. For example a point A. [br][br]2. Open the Object Preferences and look for the scripting tab named [b]Global JavaScript[/b]. [br][br]3. Add the following Global scripting:[br]
[code][/code]function ggbOnInit() {[br][br]ggbApplet.evalCommand("SetColor(xAxis, 0, 0, 0)");[br]ggbApplet.evalCommand("SetColor(yAxis, 0, 0, 0)");[br]ggbApplet.evalCommand("SetColor(zAxis, 0, 0, 0)");[br][br]}
4. Save and close the ggb file. Then open again to see new colors. See example below.