Plotting planes and their intersection in 3D

Version 1.3.0.0 (4,59 KB) von Ondrej
Function 'plotPlanes' plots planes/lines in 3D; 'plotIntersection' plots intersection of the planes.
823 Downloads
Aktualisiert 6. Jul 2011

Lizenz anzeigen

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)

Zitieren als

Ondrej (2025). Plotting planes and their intersection in 3D (https://de.mathworks.com/matlabcentral/fileexchange/32063-plotting-planes-and-their-intersection-in-3d), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2009b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Polar Plots finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
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