MATLAB Answers

How to set specific colors in margin of errorbars line?

2 ビュー (過去 30 日間)
Ivan Mich
Ivan Mich 2021 年 8 月 12 日
I use errorbar funtion in order to put errorbars in a plot. I would like to set a different color to the margin of the line.
I use
errorbar(x,y,z,'r-','LineWidth',3)
I would like for example to have red line with black margins..
Could you help me?

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by