Reputation: 1235
In matlab I am using errorbarxy to plot x and y error bars. However, with a log scale on both x and y axes, the error bars do not look right - i.e. the error bar 'heads' are different sizes. How can I fix this?
X = 10 * rand(7,1);
Y = 10 * rand(7,1);
ux = rand(7,1);
uy = rand(7,1);
lx = rand(7,1);
ly = rand(7,1);
errorbarxy(X,Y,ux,uy,lx,ly,'Color','k','LineStyle','none','Marker','o','MarkerFaceColor','w','MarkerSize',11);
set(gca,'YScale','log');
set(gca,'XScale','log');
print -r600 -dtiff myplot.tif
Upvotes: 1
Views: 1150
Reputation: 61
I suppose you can use ploterr instead.
from the documentation: The following features are supported:
Upvotes: 1