Be the first to rate this file! 7 Downloads (last 30 days) File Size: 3.16 KB File ID: #16746
image thumbnail

REFLINEXYZ

by Jos (10584)

 

08 Oct 2007 (Updated 09 Oct 2007)

Plot 3D reference lines to the YZ-, XZ- and XY-planes

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7 (R14)
Other requirements should work from release R13 upwards
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
09 Oct 2007

minor spelling and grammar corrections

09 Oct 2007

minor spelling and grammar corrections

Tag Activity for this File
Tag Applied By Date/Time
annotation Jos (10584) 22 Oct 2008 09:30:30
customization Jos (10584) 22 Oct 2008 09:30:30
reference line Jos (10584) 22 Oct 2008 09:30:30
3d Jos (10584) 22 Oct 2008 09:30:30
plot Jos (10584) 22 Oct 2008 09:30:30
mark Jos (10584) 22 Oct 2008 09:30:30
grid Jos (10584) 22 Oct 2008 09:30:30
line Jos (10584) 24 Oct 2008 15:38:57
horizontal Jos (10584) 24 Oct 2008 15:38:57
vertical Jos (10584) 24 Oct 2008 15:38:57

Contact us at files@mathworks.com