I am ploting in Matlab using errorbar() function. I have a set of data with mean, max and min values but some points the max and min match the mean value. Therefore when I plkot errorbar I get something like:

The thing is that I would not like to have these horizontal lines. The vertical ones are those in which the mean differs from max an min which I still want to keep. Any help?
pd: h1= errorbar(x,y,min,max)