Create zoom function in GUI
显示 更早的评论
Hello community,
I've got a GUI with controls and axes. I need to zoom in and out my axes after plotting. I want to do this with pushing mouse button. Any idea how can I do this?
Thanks in advance.
Best regards,
Andrew
回答(2 个)
I suggest to search in the internet at first, because you will find a lot of existing solutions:
1 个评论
Jan
2013-1-9
I'd prefer the scrollwheel for zooming in and out.
Image Analyst
2013-1-9
0 个投票
2 个评论
Andrew
2013-1-9
Image Analyst
2013-1-9
If clicking the mouse button on a slider is too inconvenient, what could be more convenient? Clicking on the image? Is that more convenient? If so, then you'll have to make a callback for the mouse button down event.
类别
在 帮助中心 和 File Exchange 中查找有关 Data Exploration 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!