필터 지우기
필터 지우기

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
KALYAN ACHARJYA 2019년 3월 18일
편집: KALYAN ACHARJYA 2019년 3월 18일
Please check the answer

댓글을 달려면 로그인하십시오.

채택된 답변

KALYAN ACHARJYA
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 CenterFile Exchange에서 Errorbars에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by