Can I lock the Y axis (Even when the Zoom In/Out is used)?
46 ビュー (過去 30 日間)
古いコメントを表示
採用された回答
Nimrodb
2013 年 3 月 8 日
2 件のコメント
raym
2022 年 12 月 10 日
I tried both
zoom yon
and
ZoomHandle = zoom(h.Figure(1))
set(ZoomHandle,'Motion','horizontal')
it worked on live fig, but when fig is stored as .fig and re-opened, it still zooms in both direction when clicking zoom+ button.
Did you solve this problem?
raym
2022 年 12 月 10 日
Got a solution here:
https://www.mathworks.com/matlabcentral/answers/405528-how-can-i-ensure-that-zoom-is-on-by-default-when-i-open-a-figure
その他の回答 (1 件)
Jan
2013 年 3 月 4 日
Yes, there is a zoom button in the figure's toolbar.
zoom yon
another idea is to set the axes 's 'YLim' property directly.
参考
カテゴリ
Help Center および File Exchange で Data Exploration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!