Filter löschen
Filter löschen

MATLAB GUI RESIZE PLOT

1 Ansicht (letzte 30 Tage)
Paolo Rossi
Paolo Rossi am 29 Dez. 2011
Hi, I have a main program thar start when i push a "start" button in my gui, the main program include some subplot, how can i fit these subplot in a axes in the gui?
the problem is that when the program start the subplot are insert in the gui, but the dimension isn't the dimension of the axes that i have create in the gui
I wrote a piace of mail program that start when click on button start
subplot(1,3,1,handles.axes1)
waterfall(phid,1:NLINEE,ZRAV1_1)
xlabel('Azimuth')
ylabel('Tempo')
zlabel('Beamforming')
set(findobj('Type','patch'),'linewidth',12)
axis ([-200 200 0 k1])
drawnow

Antworten (1)

Paul
Paul am 7 Feb. 2012
If you type help on the MATLAB prompt you will see that "if the CurrentAxes is nested in a uipanel the panel is used as the parent for the subplot instead of the current figure." You may want to consider manually creating different axes in GUIDE. That way you will maintin more control over the axes.

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by