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.
MATLAB GUI RESIZE PLOT
3 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!