How do I control errorbar line appearance independently of the markers?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
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
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Errorbars についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!