bluewhitered
BLUEWHITERED(M) returns an M-by-3 matrix containing a blue to white to red colormap, with white corresponding to the CAXIS value closest to zero. This colormap is most useful for images and surface plots with positive and negative values. BLUEWHITERED, by itself, is the same length as the current colormap.
Examples:
------------------------------
figure
imagesc(peaks(250));
colormap(bluewhitered(256)), colorbar
figure
imagesc(peaks(250), [0 8])
colormap(bluewhitered), colorbar
figure
imagesc(peaks(250), [-6 0])
colormap(bluewhitered), colorbar
figure
surf(peaks)
colormap(bluewhitered)
axis tight
인용 양식
Nathan Childress (2024). bluewhitered (https://www.mathworks.com/matlabcentral/fileexchange/4058-bluewhitered), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > Graphics > Formatting and Annotation > Colormaps > Red >
- MATLAB > Graphics > Formatting and Annotation > Colormaps > Blue >
- MATLAB > Graphics > Formatting and Annotation > Colormaps > White >
태그
도움
도움 준 파일: scalar2colormap, MRIqual, NAWHIMAR Navy-White-Red Divergent Colormap with Automatic Scaling, NIfTI Studio
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 |