MATLAB GUI RESIZE PLOT
3 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Paul
on 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.
0 Comments
See Also
Categories
Find more on Subplots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!