How can I organize image and text in a figure?
1 次查看(过去 30 天)
显示 更早的评论
I use 'postion' to get a fixed size figure:
figure('name','Label','position',[680 150 500 650]);
I use "imshow" to put an image in this figure:
imshow(imageName);
Then, unfortunately, the figure automatically resizes to the image's size!
How to avoid this? And how to set the image position in figure using imshow (I want to put the image near the top and put some text blow the image)?
0 个评论
采纳的回答
Salahuddin Bangash
2018-12-16
axes('Position',[0.65,0.7,0.28,0.28])
imshow('ImageName');
or
subplot(2,1,1)%m.n.p
imshow(imageName);
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!