Error bars in a different scale

조회 수: 2 (최근 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 CenterFile Exchange에서 Errorbars에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by