Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: errorbars in one direction
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Fabian

Posts: 22
Registered: 8/4/08
errorbars in one direction
Posted: Aug 13, 2009 10:42 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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!



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.