Floating Bar Graph with Multiple Data with Multiple Series

Hello, Is it possible to recreate a graph similar to the picture in Matlab? All the documents I have found don't have anything quite like this.
The bars cannot start at 0 because I will have a max and min for each bar. I want it to float so I can use yline( ) to display my lower and upper limits to show if my data falls between each one.
Sorry, I did not have any colored pens on me, so I did the best to show how I want to separate the data. Any suggestions are greatly appreciated or links to point me in the right direction.
Thanks!

回答 (1 件)

Nikhil Sonavane
Nikhil Sonavane 2020 年 12 月 21 日

0 投票

In my opinion, using errorbar instead of using bar graph will be a better option in this case. In errorbars you can set minimum and maximum limits to the bars which is your requirement too.

カテゴリ

ヘルプ センター および File Exchange で 2-D and 3-D Plots についてさらに検索

製品

リリース

R2020a

質問済み:

2020 年 12 月 16 日

回答済み:

2020 年 12 月 21 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by