How can I view multiple histograms on the same plot?

조회 수: 5 (최근 30일)
John F
John F 2012년 7월 26일
I have multiple histograms that have been plotted successfully.
Now, I want to go back and plot all of the histogram distributions on the same axes to compare them. I'm using the plot editor interface. I'll open up Histogram "A" and Histogram "B" in their own separate figures and then opent both of these figures in the plot editor GUI. I right click on the Histogram "B" data and copy it. Then I go to the Histogram "A" axes, right click and paste the data from Histogram "B".
Both distributions show up, but they don't line up correctly with the axes they are being plotted to.
I suppose I understand some of why this plotting is difficult to do, but can anyone help me achieve viewing two separate histograms on the same plot?
Thank you!

답변 (1개)

Image Analyst
Image Analyst 2012년 7월 26일
Are the bin values (the values of the centers of the bins, or of the edges of the bins) the same for all histograms?

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by