Error bars on log scale using errorbarxy in matlab -


in matlab using errorbarxy plot x , y error bars. however, log scale on both x , y axes, error bars not right - i.e. error bar 'heads' different sizes. how can 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 

enter image description here

i suppose can use ploterr instead.

from documentation: following features supported:

  • linear/logarithmic scaling
  • x and/or y error bars
  • relative/absolute errors
  • width of bar handles adjustable

Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -