Error Bars shifting down the graph

On my plot, my error bars have been showing up in my legend. To remove this, I turned off the auto update and made my error bars after. This did remove the symbols from the legend, however, now my error bars have shifted down the graph!?
I am unsure why the error bars have shifted down the y-axis, but if I place the command back where it was, then the error bars show back up in the legend.
Please help.

3 件のコメント

Walter Roberson
Walter Roberson 2019 年 3 月 24 日
Are you possibly using the yyaxis command, or creating multiple axes for the same display area?
Danielle Blum
Danielle Blum 2019 年 3 月 24 日
Yes, I have two y-axis and am using the yyaxis command
Danielle Blum
Danielle Blum 2019 年 3 月 25 日
Thank you I managed to fix it yesterday. For those also making a simple mistake, I forgot to identify the left axis.
e.g.
yyaxis left
then input plot code.

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeErrorbars についてさらに検索

質問済み:

2019 年 3 月 24 日

コメント済み:

2019 年 3 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by