Floating Bar Graph with Multiple Data with Multiple Series
조회 수: 5 (최근 30일)
이전 댓글 표시
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!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/463125/image.jpeg)
댓글 수: 0
답변 (1개)
Nikhil Sonavane
2020년 12월 21일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Bar Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!