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

2 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

Oleg Komarov
Oleg Komarov el 5 de Mayo de 2011
  1 comentario
Initial Conditions
Initial Conditions el 5 de Mayo de 2011
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!

Iniciar sesión para comentar.

Más respuestas (1)

Venn Ravichandran
Venn Ravichandran el 22 de Jun. de 2011
Have you tried errorbarbar, barweb, or barerrorbar along with a line command to get your error bar along the x-axis?

Categorías

Más información sobre Errorbars en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by