MATLAB: Plot the values between the range

plot the value between the range

I need to plot the values between the range using the bar plot ?
for example
Bar A 10-15
Bar B 25-30
Bar C 45-50
How can i do this ?
Thanks a lot

Best Answer

h = bar([10 25 45; 5 5 5]', 'stacked');
set(h(1), 'FaceColor', 'w', 'EdgeColor', 'w')