Properties
Category
English
Similar Topics
Statistics
Comments
13
Participants
9
Subscribers
2
Votes
3
Views
4890
Share
scaling the 3D axes
Answered
Hello,
I would like to scale the 3D zaxis dynamically, depending on the maximum value of a function. For example, keeping the scaling of the x and y axis, I would like to adjust the scale on the zaxis from r to 2r in the applet attached.
Any advice would be appreciated.
Thanks,
Ferenc
Files:
ScalingQuestion.ggb
 GeoGebra
 Help
 Partners

Contact us
 Feedback & Questions
 This email address is being protected from spambots. You need JavaScript enabled to view it.
 +43 677 6137 2693
© 2020 International GeoGebra Institute
Hola
Puede Ser Primero ir a la vista gráfica 3D en Propiedades. LUEGO, preferencias eje z, tildar distancia y alli ingresar 2r.
Es esa la respuesta esperada?
Saludos cordiales.
Zulma
Thanks Zulma, but this is not what I would like to achieve. This only puts the ticks at different distances on the zaxis, but what I need is that the graph fills approximately the same vertical proportion of the available space. As it is now, it is too flat for small rvalues and too high for large rvalues.
I can of course find the maximum of the function (in my example this is r) and multiple the function by 5/r. This way the new graph always goes up to 5, but then I need to replace the numbers on the zaxis. Instead of the 1,2,3,4,5, I need r/5, 2r/5, ... So far I could not figure out how to do this. It would be much simpler to just say "zmin=r" and "zmax=2r" in the option box (like in the 2D case), but unfortunately this is not an option. I guess, this has to do something with the difference between the 3D and 2D display procedure, but still, if there were some scripting or other solution, it would be helpful. I looked at the available javascript methods, and found a method to do this for 2D, but not for 3D.
Ferenc
Hi,
We are working on this feature now  but I can't say when this will be finished (maybe in a couple of months).
Cheers,
Mathieu
Thank you very much for both the response and that it is on your todo list. It will indeed be helpful (at least for me), when implemented.
Ferenc
Hi,
an old request :
https://help.geogebra.org/t...
See script OnUpDate r, in attachment
...
put the mouse over the zAxis, pressing shift drag the zAxis down, the scale must change
setaxisratio[ , , ] command for GG 5.2, see the help
Hi,
SetAxesRatio() command will work with 3D view soon.
Cheers,
Mathieu
Comments have been locked on this page!