plot 2 ( Stems / Histograms ) in the same axis
조회 수: 7 (최근 30일)
이전 댓글 표시
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160378/image.png)
Hello, I have two vectors that quantify a data in the same dates. I want to plot their stems / Histograms in the same axis like the image in the attachement. Thanks.
댓글 수: 0
답변 (1개)
Kuifeng
2016년 4월 7일
%1 use the 'hist' function to get the vertical axis for two arrays.
%2 use the function 'bar' to plot
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Histograms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!