xline
- :
h =xline(x)¶ - :
h =xline(x, linespec)¶ - :
h =xline(x, linespec, label)¶ - :
h =xline(…, prop, val)¶ - :
h =xline(ax, …)¶ Draw vertical lines at the given x values.
x is a real scalar or vector. One line spanning the whole height of the axes is drawn per element; the lines follow later changes of the axes limits. linespec sets colour and line style, label is a string (used for all lines) or a cell array of strings (one per line).
The return value is a column vector of group objects with the properties
Value,Color,LineStyle,LineWidth,Label,LabelHorizontalAlignmentandLabelVerticalAlignment.