Plot the values between the range
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
Thorsten
2015-11-25
h = bar([10 25 45; 5 5 5]', 'stacked');
set(h(1), 'FaceColor', 'w', 'EdgeColor', 'w')
2 个评论
Mike Garrity
2015-11-30
Instead of setting FaceColor and EdgeColor to white, try setting Visible to off.
set(h(1), 'Visible','off')
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Discrete Data Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!