Grid dynamic with button?

jan.manders shared this question 1 week ago
Answered

Is it possible to use a button to make the axes ratio and the grid-distance dynamically? For example a = random number, b = random number and then Graphic Basic: x: y = a: b. and Graphic Grid: distance x = a and distance y = b.

Comments (1)

photo
1

use random numbers and setaxesratio[], and ZoomIn( <Min x>, <Min y>, <Max x>, <Max y> ) with random numbers

other comands can be usefull centerview() axisstepx() corner()

© 2017 International GeoGebra Institute