バージョン (47.8 MB) 作成者: michio
This repository provides a function that generates a bar chart race plot.
ダウンロード: 92
更新 2023/10/25

barChartRace(X) draws the animation of the bar chart for each rows of X. X can be numeric array, table, or timetable.

h1 = barChartRace(X) returns a handle (h1) to the figure with bar chart.
[h1,h2] = barChartRace(X) returns a handle (h2) to the figure with the data description in addition to h1.
[ __ ] = barChartRace(X, Name, Value) to use some Name-Value Pair Arguments.

There are also some sample scripts that will generate a bar chart race plot. These can be a good example to work through the basic ideas behind the bar chart race animation with the graphics object of MATLAB. These scripts can work with the earlier version of MATLAB.

- barChartRace_UniColor.m: Single color version
- barChartRace_multiColor_oneBar.m: Multi-color version with one bar object.
- barChartRace_multiColor_multiBar.m: Multi0color version with multi-bar objects (for users with R2017a or earlier.)

Note: The implementation of a function barChartRace is similar to that of barChartRace_multiColor_oneBar.m but many additional options.


michio (2024). BarChartRaceAnimation (, GitHub. 取得済み .

MATLAB リリースの互換性
作成: R2019b
R2019b 以降のリリースと互換性あり
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート

See release notes for this release on GitHub:

See release notes for this release on GitHub:


この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。