Assign Axes to GUIs

Create objects using Axes.

To create an axes object that generates a plot within a GUI, define an axes handle as follows. Run the example code, and notice that space is created for a plot.

f = figure();
ax = axes(f,'units','normalized','position',[0.1 0.1 0.5 0.5]);