createStarVertices

버전 1.1.0 (1.99 MB) 작성자: Adam Danz
Creates vertices for stars with customizable number of rays, position, size, and orientation.
다운로드 수: 93
업데이트 날짜: 2021/3/28

라이선스 보기

xy = createStarVertices(nrays)
Creates vertices of a star with nrays number of rays. xy is an mx2 matrix of (x,y) vertices.

[xy, h] = createStarVertices(ax, nrays)
Plots the star on axes ax as a patch object.

createStarVertices(__,nrays, center, diameters, orientation)
Specifies the position of the star (center = [x,y]), the size (diameters = [inner, outer]), and the orientation (degrees rotation).

인용 양식

Adam Danz (2024). createStarVertices (https://www.mathworks.com/matlabcentral/fileexchange/89331-createstarvertices), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2021a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

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

Patch color now based on axis colororder, using default edge color; improved documentation and examples in mlx file. Other minor changes.

1.0.1

Update internal URL to this page.

1.0.0