barChartRace

Make bar chart race animation gif file from data (inData) with option (Opt).

現在この提出コンテンツをフォロー中です。

編集メモ: This file was selected as MATLAB Central Pick of the Week

barChartRace wittern by Eiji Konaka, Jan/2020.
Make bar chart race animation gif file from data (inData) with option (Opt).
This file is tested and intended to work on R2016b (or later).

inputs:
inData(i,j); value of i-th index at j-th time instance
All values in this matrix are assumed to be positive.
If it contains negative value, modify 'automatic scaling of horizontal axis' line as you like.

output:
The output is directly written as an animation gif file with filename outFileName.

Options:
xTickLabelStrs(i): vertical tick label of i-th index.
outFileName: output file name.
xLabelStr, yLabelStr, titleStr; Strings for horizoltal axis, vertical
axis, and title
faceColor: color in text (e.g., 'blue') or value (e.g., [0,0,1])

引用

Eiji Konaka (2026). barChartRace (https://jp.mathworks.com/matlabcentral/fileexchange/74003-barchartrace), MATLAB Central File Exchange. に取得済み.

カテゴリ

Help Center および MATLAB AnswersSimulation についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.2

Include output sample.

1.0.1

Fix typo.

1.0.0