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 Center および MATLAB AnswersBar 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