Error bars in a different scale

4 ビュー (過去 30 日間)
Auryn_
Auryn_ 2017 年 2 月 8 日
編集済み: Auryn_ 2018 年 5 月 30 日
Hi,
I would like to add an additional scale for my errorbars, as their value is much smaller than my values in the y-axis. As well, is it possible to add a legend only for the errorbars? Thank you very much in advance.

採用された回答

Jan
Jan 2017 年 2 月 8 日
It will look rather confusing if the scale of the error bars differ from the values. But you can simply multiply the values of the errors by a factor.
Do you mean:
e = errorbar(x,y,err)
legend(e, 'Error bar')
?
  1 件のコメント
Auryn_
Auryn_ 2017 年 2 月 8 日
編集済み: Auryn_ 2018 年 5 月 30 日
Thank you! It works now.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeErrorbars についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by