How do I set axes so that when I zoom in the figure the values in the window remain static and don't change
1 回表示 (過去 30 日間)
古いコメントを表示
So I have this image which was generated using the below code
Now when I zoom into the picture,the axes tend to change,what I want is that zooming in shouldn't have an effect on the overall layout.
Is there a way to fix this
Enclosed are the original figure and the zoomed in figure
And here is the code similar to
And then the one with my changes
0 件のコメント
回答 (1 件)
Prateekshya
2024 年 10 月 9 日
Hello Sparsh,
To ensure that the overall layout of your image does not change when you zoom in, you can lock the axis limits and disable automatic adjustments. This can be achieved by explicitly setting the axis limits and disabling auto-scaling. For more information on the same, please follow this link:
I hope this helps!
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!