hi every body . i read an article that uses a new type of plot (may be new type for me ) i want to know how can i reproduce it ? any help would be greatly appreciated .

 채택된 답변

dpb
dpb 2013년 10월 20일

0 개 추천

Looks like an errorbar plot with two columns should do the trick easily...
doc errorbar % for more details, examples...

댓글 수: 2

majid
majid 2013년 10월 22일
well i think it's completely different from errorbar . are you sure i can plot this with errorbar ?
dpb
dpb 2013년 10월 22일
Why not? It's just two errorbars on the same plot w/ perhaps uneven error values and a dotted line w/ symbols isn't it? The upper ylim cuts off the display of the bars but that's just a figment of the axis limits.
Let's see...
>> x=5:5:50;x=x';
>> y=linspace(270,230,length(x))';
>> y=[y linspace(20,40,length(x))'];
>> e=[y(:,1)*.9 y(:,2)*.8];
>> errorbar([x x],y,e,[':*';':o'])
>> xlim([0 55]), ylim([0 300])
>>
Looks like a pretty good start to me...

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Errorbars에 대해 자세히 알아보기

질문:

2013년 10월 20일

댓글:

dpb
2013년 10월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by