Legend text appearance and behavior - MATLAB - MathWorks Text Properties. Legend text properties control the appearance and behavior of the legend title. By changing property values, you can modify certain aspects of the title. Use dot notation to refer to a particular object and property: l = legend ('show'); l.Title.String = 'My Title'; l.Title.Color = 'red'; c = l.Title.Color.