How can I display an image within a UIPANEL in MATLAB 7.11 (R2010b)?
3 views (last 30 days)
Show older comments
I want to be able to display an image within a UIPANEL.
Accepted Answer
MathWorks Support Team
on 18 Oct 2010
This is possible by creating an AXES and by making it a child of the UIPANEL. The image can then be displayed as a child of the AXES. Following is a sample code snippet that describes how this can be done.
f = figure;
uip = uipanel;
myaxes = axes('parent', uip)
load mandrill
imagesc(X)
0 Comments
More Answers (0)
See Also
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!