Errorbar: Thicker line but same error bar width
20 次查看(过去 30 天)
显示 更早的评论
Hi
I have made a plot with some errorbars, i.e. my code looks as follows:
figure;
box on
hold on
errorbar(x, jobsInQueue, stdJobsInQueue, '--k.');
h = errorbar(x, jobsInService, stdJobsInService, ':k+');
set(get(h,'Children'),{'LineWidth'},{2; 1})
errorbar(x, jobsInSystem, stdJobsInSystem, '-k.');
hold off
Now I want the second error bar to have a thicker line but without a thicker error bar. I tried it above with the set method using the handler h but it does not work.
How can I do it?
0 个评论
采纳的回答
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Errorbars 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!