Graphics    

Example - Multiline Text

MATLAB supports multiline text strings using cell arrays. Simply define a string variable as a cell array with one line per cell. This example defines two cell arrays, one used for a uicontrol and the other as text.


  Using Character and Numeric Variables in Text Drawing Text in a Box