How to change 2D plot aspect ratio?
조회 수: 11 (최근 30일)
이전 댓글 표시
Hi guys, I have to save matlab figures and import them into a LaTex project. I use the following command:
print('-depsc2','-r600',strcat('name_figure','.eps'));
But when I insert the figure in my document the result is the following one:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/562413/image.png)
But I want to obtain something like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/562418/image.png)
So, I want to change the image aspect ratio, hopefully by using a default command or similar (a sort of landscape format).
It is possible to obtain this change in the print command?
Or do I have to use another command?
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Printing and Saving에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!