How to make Live Script plot figure shape not be squared?
2 ビュー (過去 30 日間)
古いコメントを表示
I am using MATLAB 2021a, and when plot a figure in Live Script, the default shape of the figure is sqaure-shapped:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/723164/image.png)
Since the data is really long, I want the figure is rectangular-sized to show more details. How can I pick a special ratio of the axes? I searched online and one solution is using daspect function.
But when I use daspect, the figure does become rectanglur, but a large margin shows on both top and bottom of the figure, that's quite ugly. I want the figure "filled" in between the texts.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/723169/image.png)
How can I achive that? Thanks!
0 件のコメント
回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Graphics Object Properties についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!