plot 2 ( Stems / Histograms ) in the same axis

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.

답변 (1개)

Kuifeng
Kuifeng 2016년 4월 7일

0 개 추천

%1 use the 'hist' function to get the vertical axis for two arrays.
%2 use the function 'bar' to plot

카테고리

도움말 센터File Exchange에서 Histograms에 대해 자세히 알아보기

질문:

2016년 4월 7일

답변:

2016년 4월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by