Zoom on vertical axis

kathrynp shared this question 1 year ago
Answered

3 graphics views, stacked vertically, to show f(t), f'(t), f''(t) [for kinematics] (using Michael B's demo):

I've managed to fix the horizontal (t) axes so they are always the same, (based on the 1st graphics view) but I want to be able to zoom in/out, and pan, on the vertical axes independently.

So far, I can only adjust the 1st graphics view. Movement is also very 'clunky'. Not sure if I've got the zoom/pan settings correct!

I am happy to fiddle with the downloaded file, but if students are using it on-line, they will give up if it doesn't seem to be working!

Thanks, in anticipation! K

https://ggbm.at/qgbwujzthtt...

Comments (7)

photo
1

now we have graphics, graphics2 and 2D view from each plane in 3D; I think you can do easily three graphics window, then to use SetPerspective( <Text> ) or version5 for doing you want

can you share a link to demo of Michael B?

photo
1

Here's a copy (unedited) of Michael B's demo: https://ggbm.at/kx8qf5jb

I have managed to get the three graphics views, but can't zoom/pan on the vertical axes on my file.

I'll look at SetPerspective - I have usually avoided those type of commands!

Thanks

photo
1

I did almost all

/Q8fg6C99GFfOyf4qVWV6cvPU1HbK+RdCiF8jCQBCCCGEEEJcIRIAhBBCCCGEuEIkAAghhBBCCHGFSAAQQgghhBDiCpEAIIQQQgghxBUiAUAIIYQQQogrRAKAEEIIIYQQV4gEACGEEEIIIa4QCQBCCCGEEEJcIRIAhBBCCCGEuEIkAAghhBBCCHGFSAAQQgghhBDiCpEAIIQQQgghxBUiAUAIIYQQQogrRAKAEEIIIYQQV4gEACGEEEIIIa4QCQBCCCGEEEJcIRIAhBBCCCGEuEL+B9hBVcpbY9E2AAAAAElFTkSuQmCC

photo
1

Hola!

Michael B's file zooms fine. But it seems the link to my file (in my original post) is not working, so I'm trying again!

I started with Mike's file, but have obviously modified settings relating to zooming, without realising!

Here's a link: https://www.geogebra.org/cl...

(By the way, on this page, I keep getting a message about page stopped because of a long running script. Is this a problem with my laptop?)

Feeling somewhat inadequate! Kathryn

photo
1

You can't zoom (at all) because you've put variables (not numbers) in for the xmin/xmax.


Maybe try variables for the ymin/max to do the y-scale automatically?

photo
1

Thanks, Mike. I did wonder if it was something to do with that.

I put the variables in to keep the xmin/xmax the same on each view, so the graphs all lined up horizontally. I thought I would still be able to pan/zoom independently in the vertical direction, to take account of the changes in scale needed by differentiating twice. Is there another way to keep the horizontal axes aligned, which won't fix the vertical axes? Or can I link ymax/ymin to f'(xmax/xmin)? Have not played with automatic scaling before!

photo
1

Success! I have now managed to control x-axis boundaries with a slider, and ymax/ymin dependent on max/min of the function being plotted. I have also simplified the file, by making a book with 3 separate files, instead of trying to put all the options in one file! Thanks mathmagic and MichaelB for your help!

photo
© 2020 International GeoGebra Institute