plot 2 ( Stems / Histograms ) in the same axis
1 次查看(过去 30 天)
显示 更早的评论
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!