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!