insert image in frame or panel?
8 次查看(过去 30 天)
显示 更早的评论
Hi I am want to create a panel or frame on the MATLAB fig such that when the user selects an image by clicking on the open button the image should open in the space that is alloted by the pre-designed frame/panel.How do I do this?
0 个评论
回答(2 个)
Walter Roberson
2011-4-29
ph = uipanel(....)
pax = axis('Parent',ph);
Then to put the image up,
image(pax, ImageData)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!