Vline

From Eigenvector Research Documentation Wiki
Revision as of 15:27, 3 September 2008 by imported>Jeremy (Importing text file)
Jump to navigation Jump to search

Purpose

Place a vertical line in an existing figure.

Synopsis

h = vline(x,lc)

Description

VLINE draws a vertical line on an existing figure from the bottom axis to the top axis at at postions defined by x which can be a scalar or vector. If no input is used for x the default vaule is zero {default x = 0}.

Optional input lc is used to define the line style and color as in normal plotting (see PLOT). If not inputs are supplied, VLINE draws a vertical green line at 0.

Output h is the handle(s) of line(s) drawn.

Examples

vline([2.5 3],'-r')

plots a vertical red line at x = 2.5 and 3.

See Also

dp, ellps, hline, pan, plot, plttern