rppd

版本 1.0.0.0 (2.7 KB) 作者: Matt Fig
Plots a rectangular parallelepiped (cuboid) patch object.
2.5K 次下载
更新时间 2008/7/25

查看许可证

RPPD(sidelength,centerloc,facecolor,edgecolor,alpha)

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 的更多信息
致谢

参考作品: PLOTCUBE

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0