PLOTCUBE

버전 1.0.0.0 (1.74 KB) 작성자: Olivier
Plot a 3D-cube
다운로드 수: 16.9K
업데이트 날짜: 2007/6/1

라이선스 보기

PLOTCUBE - Display a 3D-cube in the current axes

PLOTCUBE(EDGES,ORIGIN,ALPHA,COLOR) displays a 3D-cube in the current axes
with the following properties:
* EDGES : 3-elements vector that defines the length of cube edges
* ORIGIN: 3-elements vector that defines the start point of the cube
* ALPHA : scalar that defines the transparency of the cube faces (from 0
to 1)
* COLOR : 3-elements vector that defines the faces color of the cube

Example:
>> plotcube([5 5 5],[ 2 2 2],.8,[1 0 0]);
>> plotcube([5 5 5],[10 10 10],.8,[0 1 0]);
>> plotcube([5 5 5],[20 20 20],.8,[0 0 1]);

인용 양식

Olivier (2024). PLOTCUBE (https://www.mathworks.com/matlabcentral/fileexchange/15161-plotcube), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2007a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기
도움

도움 준 파일: rppd

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0