Show older comments
Is it possible to draw a figure in existing GUI window?tell me the way to approch
Accepted Answer
More Answers (2)
nanren888
on 23 Feb 2012
0 votes
What created the GUI? If you created it, then you have the figure number (handle). Seems even if it is a GUIDE one, it shows up in get(0,'children');
1 Comment
asha jyothi
on 20 Mar 2012
Tannistha
on 23 Feb 2012
0 votes
| by drawing a figure i am assuming u mean to plot something in the window? In order to plot anything in the gui figure window, u need to define the axis beforehand and get the handle of the axis. Then you can plot whatever u want in the axis. even if u want to draw some image using imdraw. u need to define the axis on which u want to draw.
Rest, agree with Jan. A figure cannot be a child of figure.
2 Comments
asha jyothi
on 1 Mar 2012
Walter Roberson
on 1 Mar 2012
If you are displaying pre-defined images then you want image() rather than imdraw().
Categories
Find more on Image Arithmetic 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!