BarTwoYaxis

バージョン 1.0.0.0 (998 Bytes) 作成者: Shai Shen-Orr
Plots a bar graph with 2 y axes including errorbars
ダウンロード: 2.8K
更新 2006/4/24

ライセンスがありません

plots a 2 axis bar plot by normalizing values to be from 0 to 1 on both data sets, plotting them as one grouped bargraph, adding 2nd y-axis and then modfying y axis ticks. bar1 & bar2 are column vectors.

If errors is not empty (Expected 2 row vector same size as numbars) than plot errorbars using errorbar function. Idea based on Bolu Ajiboye barweb code (though implemented differently)

Use:
figHandle = BarTwoYaxis(bar1,bar2,[],[],'','','',[])

Will plot a 2 Y axis grouped bar with the bar1 series using the left y axis and the bar2 series using the right one.

Type help BarTwoYaxis to see fuller argument list.

引用

Shai Shen-Orr (2024). BarTwoYaxis (https://www.mathworks.com/matlabcentral/fileexchange/10839-bartwoyaxis), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R14SP3
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersHistograms についてさらに検索
謝辞

ヒントを得たファイル: barweb (BARgraph With Error Bars)

Community Treasure Hunt

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

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