Annotation rectangle appearance and behavior
Rectangle
properties control the appearance and behavior of
a Rectangle
object. By changing property values, you can modify
certain aspects of the rectangle. Use dot notation to query and set
properties.
h = annotation('rectangle'); c = h.Color; h.Color = 'red';