plot
알파 셰이프 플로팅
설명
예제
3차원 알파 셰이프 플로팅 및 Patch 속성 수정
3차원 점 집합을 만듭니다.
[x1, y1, z1] = sphere(24);
x1 = x1(:);
y1 = y1(:);
z1 = z1(:);
x2 = x1+5;
P = [x1 y1 z1; x2 y1 z1];
P = unique(P,'rows');
알파 반지름 1.5를 사용하여 알파 셰이프를 만들고 플로팅합니다.
shp = alphaShape(P,1.5); plot(shp)
지정된 색 인자와 투명도 인자를 사용하여 알파 셰이프를 플로팅합니다.
plot(shp,'FaceColor','red','FaceAlpha',0.1)
입력 인수
shp
— 알파 셰이프
alphaShape
객체
알파 셰이프로, alphaShape
객체로 지정됩니다. 자세한 내용은 alphaShape
를 참조하십시오.
예: shp = alphaShape(x,y)
는 (x,y)
점 좌표에서 2차원 alphaShape
객체를 만듭니다.
출력 인수
h
— Patch
객체에 대한 핸들
핸들
Patch
객체 핸들로, 핸들로 반환됩니다. 자세한 내용은 patch 객체 소개 항목을 참조하십시오.
버전 내역
R2014b에 개발됨
참고 항목
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)