Zline: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Jeremy (Importing text file) |
||
Line 1: | Line 1: | ||
===Purpose=== | ===Purpose=== | ||
Adds vertical lines to 3D figure at specified locations. | Adds vertical lines to 3D figure at specified locations. | ||
===Synopsis=== | ===Synopsis=== | ||
:h = zline(''x,y,lc'') | :h = zline(''x,y,lc'') | ||
===Description=== | ===Description=== | ||
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. If no input is used for ''x'' and y the default vaule is zero {default = 0}. | 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. If no input is used for ''x'' and y the default vaule is zero {default = 0}. | ||
Optional input ''lc'' is used to define the line style and color as in normal plotting (see PLOT). If not inputs are supplied, ZLINE draws a vertical green line at 0. | Optional input ''lc'' is used to define the line style and color as in normal plotting (see PLOT). If not inputs are supplied, ZLINE draws a vertical green line at 0. | ||
Output h is the handle(s) of line(s) drawn. | Output h is the handle(s) of line(s) drawn. | ||
===Examples=== | ===Examples=== | ||
zline(2.5, 1.2,'-r') | zline(2.5, 1.2,'-r') | ||
plots a vertical red line at x = 2.5 and y = 1.2. | plots a vertical red line at x = 2.5 and y = 1.2. | ||
===See Also=== | ===See Also=== | ||
[[dp]], [[ellps]], [[hline]], [[pan]], [[plot]], [[plttern]], [[vline]] | [[dp]], [[ellps]], [[hline]], [[pan]], [[plot]], [[plttern]], [[vline]] | ||
'''Distribution Fitting Tool Set - General Functions''' | '''Distribution Fitting Tool Set - General Functions''' |
Revision as of 15:27, 3 September 2008
Purpose
Adds vertical lines to 3D figure at specified locations.
Synopsis
- h = zline(x,y,lc)
Description
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. If no input is used for x and y the default vaule is zero {default = 0}.
Optional input lc is used to define the line style and color as in normal plotting (see PLOT). If not inputs are supplied, ZLINE draws a vertical green line at 0.
Output h is the handle(s) of line(s) drawn.
Examples
zline(2.5, 1.2,'-r')
plots a vertical red line at x = 2.5 and y = 1.2.
See Also
dp, ellps, hline, pan, plot, plttern, vline
Distribution Fitting Tool Set - General Functions