selectcolor.m

버전 1.1.0.0 (22.5 KB) 작성자: Peter Beemiller
A compact color picker
다운로드 수: 473
업데이트 날짜: 2014/9/2

라이선스 보기

The selectcolor function is a compact alternative to uisetcolor. It places some 'quick selection' color choices into a single window with sliders and edit boxes to manually adjust RGB channel values or enter a hex code directly. Colors can also be specified using keyboard shortcuts for red, green, blue, cyan, magenta, yellow, black, white or orange ('r', 'g', 'b', 'c', 'm', 'y', 'k', 'w', 'o', respectively).
The dialog uses the same syntax as uisetcolor so that it can be used a a drop-in replacement for uisetcolor.
Additionally, the handle to a current figure can optionally be passed to selectcolor, which will position the selectcolor dialog centered over the figure represented by the handle. This is useful for when selectcolor is called from another GUI figure, placing the dialog in a convenient location.

It also accepts an optional dialog color input that can be used to create a non-standard colored dialog with a black or white background.

인용 양식

Peter Beemiller (2024). selectcolor.m (https://www.mathworks.com/matlabcentral/fileexchange/47708-selectcolor-m), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2014a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

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

Fixed error in initial hex value string.

1.0.0.0