Script axis positive value only

Åsmund shared this question 1 year ago
Answered

Is there a javascript or command for "positive value only" shows on axis? Found this for showing or hiding grid, but to just hide negative values?

void setAxesVisible(boolean xAxis, boolean yAxis)3.0Shows or hides the x- and y-axis of the coordinate system in the graphics windows 1 and 2.void setAxesVisible(int viewNumber, boolean xAxis, boolean yAxis, boolean zAxis)5.0Shows or hides the x-, y- and z-axis of the coordinate system in given graphics window.

Example: ggbApplet.setAxesVisible(3, false, true, true)

Comments (4)

photo
1

Sorry, no

photo
1

Maybe this workaround will help.

photo
1

Thanks for help. I made my own xaxis and yaxis with ray, segments and lists. But it would be nice to have in the future sometimes.

photo
1

do a custom tool

© 2020 International GeoGebra Institute