REFLINEXYZ

Plot 3D reference lines to the YZ-, XZ- and XY-planes
2.3K Downloads
Updated 9 Oct 2007

View License

REFLINEXYZ(X,Y,Z) plots reference lines from the 3D points (X,Y,Z) to the three cartesian planes (YZ, XZ, & XY planes). The lines are drawn from the axes planes upto each point. X, Y and Z should have the same number of elements.

REFLINEXYZ(X,Y,Z,YZOFFSET, XZOFFSET, XYOFFSET) specifies the offset from the three planes. If an offset is omitted (or empty), the defaults are used, namely the lower limits of each axis. The offsets can be scalars, specifying the same offset for each point, or vectors with the same number of elements as the points, to specify the offset for each point individually.

The lines are plotted as a three graphics object. H = REFLINEXYZ(..) returns the three graphics handles of the lines to the YZ, XZ and XY planes in H.

REFLINEXYZ(..., 'Prop1', 'Val1', 'Prop2', 'Val2', ...) uses the properties and values specified for color, linestyle, etc. Execute GET(H), where H is a line handle, to see a list of line object properties and their current values. Execute SET(H) to see a list of line object properties and legal property values.

REFLINEXYZ uses the current axes, if any. Lines outside the plot area are plotted but not shown.

See also stem, plot3, refline, grid, axes
and gridxy and reflinexy (on the FEX)

http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=14706&objectType=FILE

Cite As

Jos (10584) (2024). REFLINEXYZ (https://www.mathworks.com/matlabcentral/fileexchange/16746-reflinexyz), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Labels and Annotations in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

minor spelling and grammar corrections