i want to pop a new window in Matlab GUI.
2 views (last 30 days)
Show older comments
i want to pop a new window in Matlab GUI. I need to display three figures on new window. My existing GUI is full of figures and push buttons. enter preformatted text here
function pushbutton7_Callback(hObject, eventdata, handles)
global img;
[Red, x] = imhist(img(:,:,1));
bar(x, Red, 'Red');
[Green, y] = imhist( img(:,:,2));
bar(y, Green, 'Green');
[Blue, z] = imhist(img(:,:,3));
bar( z, Blue, 'Blue');
how can I display output of these commands on new window which contain three figures (one for each color).
0 Comments
Accepted Answer
Geoff Hayes
on 15 May 2016
mania - just create a new figure and use subplot to create 3 axes which you will update accordingly.
0 Comments
More Answers (0)
See Also
Categories
Find more on Migrate GUIDE Apps 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!