[Pt,Cp] = highlight(Range,...)
[Pt,Cp] = highlight(Ax,Range,...)
Range
[ numeric ] - X-axis range or date range that will be highlighted.
Ax
[ numeric ] - Handle(s) to axes object(s) in which the highlight will be made.
Pt
[ numeric ] - Handle to the highlighted area (patch object).
Cp
[ numeric ] - Handle to the caption (text object).
'caption='
[ char ] - Annotate the highlighted area with a text string.
'color='
[ numeric | 0.8
] - An RGB color code, a Matlab color name, or a scalar shade of gray.
'excludeFromLegend='
[ true
| false
] - Exclude the highlighted area from legend.
'hPosition='
[ 'center' | 'left' | 'right' ] - Horizontal position of the caption.
'vPosition='
[ 'bottom' | 'middle' | 'top' | numeric ] - Vertical position of the caption.