How can I change my plot size?
显示 更早的评论
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
2022-3-21
0 个投票
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?
类别
在 帮助中心 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!