Graphics Previous page   Next Page

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.

Previous page  Using Character and Numeric Variables in Text Drawing Text in a Box Next page

© 1994-2005 The MathWorks, Inc.