Change size and location of plot area in plot window
30 次查看(过去 30 天)
显示 更早的评论
How do I move and resize the actual figure size (with the axis and data) within the popup window that appears when plotting?
I want to make the popup figure window full screen, which I do through the "position" method, but I don't know how to resize and reposition the actual figure within the window.
回答(1 个)
Constantino Carlos Reyes-Aldasoro
2023-5-2
You need to learn how to use the handles. Instead of just plotting things, grab the handle to the figure and the axes and then you can modify the properties of each handle. This will be limited here but try this in your own computer and look for the property "position"
h1=gcf;
h2=plot(1:10,sin(1:10));
get(h1)
get(h2)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!