The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: errorbars in one direction
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

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

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]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.