From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Adds vertical lines to 3D figure at specified locations.


h = zline(x,y,lc)


ZLINE draws a vertical line on an existing 3D figure from the bottom axis to the top axis at at postions defined by x and y which can be a scalar or vector.

Optional input lc is used to define the line style and color as in normal plotting (see MATLAB PLOT command).

If no inputs are supplied, ZLINE draws a vertical green line at 0,0

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


zline(2.5, 1.2,'-r')

plots a vertical red line at x = 2.5 and y = 1.2.

See Also

abline, dp, ellps, hline, plttern, pltternf, vline