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!