How can I specify the number and spacing between minor tick marks in MATLAB and maintain it even when zooming?
6 ビュー (過去 30 日間)
古いコメントを表示
I would like to specify the number and spacing of minor tick marks displayed, and maintain this spacing and display even when I zoom in and out.
採用された回答
MathWorks Support Team
2011 年 6 月 28 日
The ability to control the number and spacing of minor ticks and maintain it while zooming is not directly available in MATLAB.
To workaround this issue, you can create your own minor tick marks and use the ACTIONPOSTCALLBACK of the ZOOM function in order to keep the ticks scalable when zooming in and out of the axes.
As an example, refer to the attached MATLAB code file: tickZoom.m. Note that the attached file is just an example to get started and is not qualified or tested with different versions of MATLAB.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
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!