How can I change my plot size?

조회 수: 7 (최근 30일)
flashpode
flashpode 2022년 3월 21일
댓글: Jan 2022년 3월 22일
Hi, I've got a problem, I want to plot some data but the size of my plot it is a square, what I would like is to have a rectangle with more width than highth as I am plotting a month. How can I do it to change the plot size. All the stuff I've seen was about changing figure size not the plot. If you could help me would be nice.

답변 (1개)

Jan
Jan 2022년 3월 21일
You can change the 'Position' property of the axes. If you avoid to set the axes limits to 'square' explicitly, this should work directly. Do you have any axis() commands in your code?
  댓글 수: 2
flashpode
flashpode 2022년 3월 21일
No I just have the name of the axes written.
Jan
Jan 2022년 3월 22일
If you post the code, which reproduces the problem, the reader could show you, which commands causes the square appearence. Then you could omit this command.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by