MATLAB Creating Graphical User Interfaces

(ff) #1

  • Use the title, xlabel, ylabel, zlabel, and text functions in the code file to label
    an axes component. For example,


xlh = (axes_handle,'Years')

labels the X-axis as Years. The handle of the X-axis label is xlh.

The words remove, default, and factory (case sensitive) are reserved. To use one
of these in component text, prepend a backslash character (\). For example, \remove
yields remove.


  • If you want to set the position or size of the axes to an exact value, then modify its
    Position property.


Add Components to the GUIDE Layout Area
Free download pdf