i want to pop a new window in Matlab GUI.

3 visualizzazioni (ultimi 30 giorni)
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).

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by