I have been trying to Create a program with the GUI in MATLAB. When I try to plot information with AXES I can not figure out how to do it. I know about the function plot, but I need to be able to re-size and move the plot around in the figure so I can make room for the input uicontrol. I am not sure what to do. Please help.
0
votes
Can you tell us more about how axes() is not working for you?
- jerad
Well To tell you the truth, I am confused on how it works. Is that function just for axes options? so you have to plot first then adjust the axes?
- ponger3d
@ponger3d Yes axes is used to modify axis properties. See the examples in matlab documentation on how to use it. You do not need to plot anything to adjust the axes. Have a look at subplot which might suit your need.
- mythealias
2 Answers
0
votes
I don't have Matlab at hand right now, but try the following:
To set size of the plot axes inside the figure window use
set(gca,'Position',[left bottom width height])
see Mathworks' site on axes properties