Plotting planes and their intersection in 3D

版本 1.3.0.0 (4.6 KB) 作者: Ondrej
Function 'plotPlanes' plots planes/lines in 3D; 'plotIntersection' plots intersection of the planes.
822.0 次下载
更新时间 2011/7/6

查看许可证

1) plotPlanes.m
- plots planes and lines in 3D defined either by directional vectors or by normal vectors.

Example:
A = [1 1 0;0 0 1]; Ashift = [1 1 1];
B = [1 1 1]; C = [1 1 0]

plotPlanes(A,'d',Ashift,B,'Normal',C)

======================================
2) plotIntersection.m
- plots intersection of planes/lines. Only planes/lines going through (0,0,0) (i.e. unshifted) can be plotted (due to functionality of findIntersection.m).

Example:
A = [1 1 0;0 0 1];
B = [1 1 1];

plotIntersection(A,B)
plotIntersection(A,'Normal',B)

引用格式

Ondrej (2024). Plotting planes and their intersection in 3D (https://www.mathworks.com/matlabcentral/fileexchange/32063-plotting-planes-and-their-intersection-in-3d), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Polar Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.3.0.0

small change in description

1.2.0.0

change in description

1.1.0.0

small change in example

1.0.0.0