Coloured bar chart

버전 1.2 (1.3 KB) 작성자: Malcolm McLean
Simple wrapper to bar allowing you to specify bar colors and labels.
다운로드 수: 1.1K
업데이트 날짜: 2014/11/29

라이선스 보기

Quite frequently you want to color the bars in a bar chart according to your own scheme - e.g. to highlight an anomalous measurement in red. The bar function doesn't make it easy to do this, but there is a way.
Also, only occasionally do you want the x-axis labels to be the default 1 2 3 ... So for convenience this function takes a series, a colour vector, and a list of labels.

인용 양식

Malcolm McLean (2024). Coloured bar chart (https://www.mathworks.com/matlabcentral/fileexchange/29882-coloured-bar-chart), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2009b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Bar Plots에 대해 자세히 알아보기
태그 태그 추가
도움

줌: superbar

Community Treasure Hunt

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

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

Toolbox

1.0.0.0