plot 2 ( Stems / Histograms ) in the same axis

7 ビュー (過去 30 日間)
Mohamed Wassim BABA
Mohamed Wassim BABA 2016 年 4 月 7 日
回答済み: Kuifeng 2016 年 4 月 7 日
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 日
%1 use the 'hist' function to get the vertical axis for two arrays.
%2 use the function 'bar' to plot

カテゴリ

Help Center および File ExchangeHistograms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by