Help needed: Changing xMin, xMax, yMin, yMax in the preference windows and ZoomIn()

hjbortol shared this question 5 months ago
Answered

Hi!


Since the preferences of the Graphics is not a detached window anymore, if a student wants to change the values of xMin, xMax, yMin, yMax, let's say, xMin = -1, xMax = 1, yMin = -20, yMax = 20, he/she faces a problem: after inserting this values in the Graphics' preference window, the Graphics View 1 will change accordingly but, whe he/she closes the preference window, the values of xMin and xMax are changed beucase there is more horizontal room.


The GeoGebra wiki says ZoomIn(xMin, xMax, yMin, yMax) changes the view to xMin <= x <= xMax, yMin <= y <= yMax, but it is not working either GeoGebra 5.x and GeoGebra 6.x.


Therefore, how to change the values of xMin, xMax, yMin and yMax?


Thanks, Humberto.

Comments (3)

photo
1

Try ZoomIn( <Min x>, <Min y>, <Max x>, <Max y> )

photo
1

Never mind. It should be the coronavirus cofinement affecting my brain. Thanks!

© 2020 International GeoGebra Institute