Plotting planes and their intersection in 3D

Function 'plotPlanes' plots planes/lines in 3D; 'plotIntersection' plots intersection of the planes.

이 제출물을 팔로우합니다

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 (2026). Plotting planes and their intersection in 3D (https://kr.mathworks.com/matlabcentral/fileexchange/32063-plotting-planes-and-their-intersection-in-3d), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Polar Plots에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
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