Why doesn't zoom off work for scrolling in the MATLAB R2018b Prerelease?
3 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2018 年 8 月 20 日
編集済み: MathWorks Support Team
2019 年 5 月 15 日
'zoom off' does not disable zooming via scrolling in the R2018b Prerelease.
Reproduction steps:
plot(1:10)
% put mouse over axes and scroll to zoom
zoom off
% put mouse over axes and notice we are still able to zoom via scrolling
In R2018a, 'zoom off' would disable zooming via scrolling. Note that in the R2018b Prerelease, 'zoom off' still disables zooming via clicking, just not scrolling.
採用された回答
MathWorks Support Team
2019 年 5 月 15 日
編集済み: MathWorks Support Team
2019 年 5 月 15 日
In MATLAB R2018b, panning, zooming, data tips, and 3-D rotation are enabled by default. To disable this, you can use the 'disableDefaultInteractivity' function. So, for example, to disable interactivity for the current axes, you can do,
disableDefaultInteractivity(gca)
To enable them again, you can do
enableDefaultInteractivity(gca)
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Visual Exploration についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!