Plotting two series of dicreet points with errorbars (std. dev.) on Y and X

조회 수: 2 (최근 30일)
I'd like to plot Y1 and Y2 with errorbars, against X (same X for both series) with X errorbars too.
The plot needs to be log-log with a 1:1 refline. Any ideas how I can go about this?
I've tried numerous methods - plotyy with call to errorbar, basic plot, plot and then plot again with hold on. etc etc.
One of the main problems I'm having is the joining of errorbars. I would like discrete points with a simple errorbar in x and y at each point.
Thanks, Dom.

채택된 답변

Oleg Komarov
Oleg Komarov 2011년 5월 5일
  댓글 수: 1
Initial Conditions
Initial Conditions 2011년 5월 5일
Thanks for the reply - I have tried ploterr but couldnt get everything right with that. I will possibly keep trying with that as it was close but not quite right - although I've tried so many things today I can't quite remember what the main issue with ploterr was now!

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

추가 답변 (1개)

Venn Ravichandran
Venn Ravichandran 2011년 6월 22일
Have you tried errorbarbar, barweb, or barerrorbar along with a line command to get your error bar along the x-axis?

카테고리

Help CenterFile Exchange에서 Errorbars에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by