what is the difference between axis normal, axis square, axis equal, and axis tight?

 採用された回答

Star Strider
Star Strider 2016 年 7 月 7 日

2 投票

The easiest way to see this is to experiment with them by doing the different axis styles with the same data plot.
Briefly, axis normal uses the default aspect ratio for the plot, axis square makes the aspect ratio square, axis equal uses the same length for the data units along each axis, and axis tight sets the axis box tightly around the data.

3 件のコメント

Image Analyst
Image Analyst 2016 年 7 月 7 日
I agree it's confusing, especially between square and equal, so like Star said, I just have to experiment until I get what I like, because I can never remember and the explanations in the help are ambiguous.
HiWave
HiWave 2020 年 3 月 16 日
Equal = aspect ratio equal
Square = change aspect ratio to make axis "window/frame/container" square
Sunil
Sunil 2024 年 12 月 7 日
Unfortunately, the matlab documentation is not clear on this.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

質問済み:

2016 年 7 月 7 日

コメント済み:

2024 年 12 月 7 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by