COLORPIXEL

버전 1.0.0.1 (2.11 KB) 작성자: Brett Shoelson
Creates patch(es) of a user-specified color at user-specified x- y- positions.
다운로드 수: 334
업데이트 날짜: 2016/9/1

라이선스 보기

Paint individual pixels or matrix coordinates in the current axes!
SYNTAX:
P = COLORPIXEL(XPOS,YPOS,COLOROPT)

Creates patches on the current axes corresponding to the x-,y- positions specified by vectors XPOS and YPOS, of a color specified by COLOROPT default: 'r'). Uses the PATCH command, so is constrained by anything that constrains patches.

INPUTS:
XPOS is a vector of x (column) positions.
YPOS is a vector (the same length as XPOS) of y (row) positions.
COLOROPT is an RGB color or standard string recognized as a color by MATLAB. (Default = 'r').

OUTPUTS:
P is a vector of handles to patch objects. (Note that all patches are created, for convenience, with a tag of 'colorpixel'.) All patches are modifiable using the handles to the patch objects.

인용 양식

Brett Shoelson (2024). COLORPIXEL (https://www.mathworks.com/matlabcentral/fileexchange/31088-colorpixel), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2011a
모든 릴리스와 호환
플랫폼 호환성
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!
버전 게시됨 릴리스 정보
1.0.0.1

Updated license

1.0.0.0