Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


Fabian
Posts:
22
Registered:
8/4/08


errorbars in one direction
Posted:
Aug 13, 2009 10:42 PM


Hi, I am plotting an errorbar plot with 95% confidence intervals obtained by ttest2. Everything works perfect but I only want to illustrate significant difference of my mean difference from 0 change. Therefore I'd like to show errorbars of positive mean difference only in the negative and errorbars of negative mean difference only in positive direction. I've achieved 1 directional errorbars by filling L and U according to the sign of Y before calling errorbar(X,Y,L,U). I make L=0 if Y<0 and U=0 if Y>0, that plots upper errorbars for Ys<0 and lower errorbars for Ys>0 and illustrates whether Y is significantly different from 0 (change). My problem is that the 0 errorbar is still understood as an errorbar by the function (of 0 lenght) and hence the tee is plotted. Can I somehow change that, i.e. only a tee where errorbar ~= 0? thanks loads!



