MATLAB: How to plot errorbar with only upper error bars

errorbar

I am trying to plot error bars using the errorbar function. When using the errorbar(X,Y,L,U) and providing L with NaNs and U with the requested values it does not show the error bar line (just upper limit short line). I will appreciate any advice or function which allows plotting only upper error bar lines
Thanx in advance
Guy

Best Answer

The simplest way might be to do:
errorbar(X,Y,zeros(size(Y)),U)
you could also hack the code to not plot the lower bar at all
edit errorbar
Related Question