Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道
imshow('myimage.png','border','tight');
将在图像周围提供紧密的边框。但是,如果我已经打开了图像怎么办?有没有办法让它有一个严格的边界?
imshow('coins.png') set(gca, 'Units', 'normalized', 'Position', [0 0 1 1])
(1) 通过单击图像来选择显示图像的图形轴。
(2) 在命令行窗口输入
轴紧
假设这是您想要做的......从您的问题中不清楚您到底想要做什么。