how to set boundaries imshow
2 ビュー (過去 30 日間)
古いコメントを表示
how to set boundaries imshow, how to set a position and outerposition?
for example, I want to stretch the image over the entire space, how do I do this?
0 件のコメント
採用された回答
Image Analyst
2022 年 11 月 7 日
You can set the .Position property of the axes to enlarge it so that it fills the entire figure window, or close to it.
ax = gca;
g = gcf;
ax.Units = 'normalized';
g.Units = 'normalized';
ax.Position = [0, 0, 1, 1];
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!