i want to pop a new window in Matlab GUI.

2 vues (au cours des 30 derniers jours)
mania online
mania online le 15 Mai 2016
Modifié(e) : Geoff Hayes le 15 Mai 2016
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).

Réponse acceptée

Geoff Hayes
Geoff Hayes le 15 Mai 2016
mania - just create a new figure and use subplot to create 3 axes which you will update accordingly.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by