버전 (2.73 KB) 작성자: Matt Fig
Plots a rectangular parallelepiped (cuboid) patch object.
다운로드 수: 2.5K
업데이트 날짜: 2008/7/25

라이선스 보기


Creates an RPPD with the following arguments:

sidelength is a 1x3 vector of side lengths.
centerloc is a 1x3 vector giving the location of the center of the rppd.
facecolor is a 1x3 vector of RBG values for the faces.
edgecolor is a 1x3 vector of RGB values for the edges.
alpha is a transparency value on [0 1]. 0 is transparent, 1 opaque.

All arguments are optional, and defaults will be provided. The default is a 95% opaque, blue unit cube located at the origin.
If requested, rppd returns the handle to the patch object.
See the help for more information and several examples.

Inspired by questions on the newsgroup, and another FEX submission.

Tested on 6.5 R2007a

Please email me about bugs and other concerns. Thanks.

인용 양식

Matt Fig (2024). rppd (https://www.mathworks.com/matlabcentral/fileexchange/20845-rppd), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2007a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
Help CenterMATLAB Answers에서 Polygons에 대해 자세히 알아보기


Community Treasure Hunt

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

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