フィルターのクリア

How do I control errorbar line appearance independently of the markers?

1 回表示 (過去 30 日間)
Ziv Kassner
Ziv Kassner 2019 年 3 月 18 日
コメント済み: Ziv Kassner 2019 年 3 月 18 日
How do I control the appearance of errorbars?
I want to change the line style of the errorbars independently of the markers
Thanks,
Ziv
  4 件のコメント
Ziv Kassner
Ziv Kassner 2019 年 3 月 18 日
Great! thank you!
KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 3 月 18 日
編集済み: KALYAN ACHARJYA 2019 年 3 月 18 日
Please check the answer

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

採用された回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 3 月 18 日
編集済み: KALYAN ACHARJYA 2019 年 3 月 18 日
-Now, change the whiskers into red '--' while keeping the 'x' data a blue 'o'-
x = 1:10:100;
err = 8*ones(size(x));
errorbar(x,err,'o');
hold on;
errorbar(x,err,'r','linestyle','none');
Note: There may be more easy way
  1 件のコメント
Ziv Kassner
Ziv Kassner 2019 年 3 月 18 日
The line style of the errors in your example aren't '--' though

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

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by