How to change figure axes aspect ratio
19 ビュー (過去 30 日間)
古いコメントを表示
I have a figure, but the x axis has bunched up, Its range is about 36 units long while, the y and z axes are just four, and Matlab seems to auto bunch the values, It's making my figure look silly. Tried to write a line to change DataAspectRatio but it doesn't work, perhaps my syntax is incorrect. I can change it manually in drop down menus but I need it to do things automatically. Currently DataAspectRatio is stuck at [8.8889,1,1]. I need it at [1,1,1].
Thanks
1 件のコメント
dpb
2019 年 3 月 20 日
Can you attach a short piece of code that produces the errant figure? Hard to know what's going on w/o anything specific to look at...
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Axis Labels についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!