Zoom in Zoom out axes with button function
Show older comments
excuse me, i have a question. how to make a button function to zoom in and zoom out an axes ?, please someone help me.
4 Comments
Walter Roberson
on 1 Sep 2013
How closely does it need to model the existing zoom behavior? In particular the existing behavior needs to keep track of the entire history of zoom in and out so that the user can "undo" one zoom at a time. It is this tracking that complicates the function.
Lidank Abiel
on 4 Sep 2013
Walter Roberson
on 4 Sep 2013
What happens when you try it?
Lidank Abiel
on 5 Sep 2013
Answers (1)
Sean de Wolski
on 5 Sep 2013
I would just add the predefined ZOOM buttons to the toolbar of the figure. There's no reason to reinvent the wheel.
In GUIDE:
Tools Menu -> Toolbar editor
Categories
Find more on Data Exploration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!