About ploting values in array and holding them
조회 수: 1 (최근 30일)
이전 댓글 표시
I have following code as function
function PlotSample(x)
figure(1);
sublot(3,1,1);
[a,b]=hist(x);
hold on;
a=100*(a./size(x,1));
end
Now if i have diffrent values of x like x1,x2 and x3 all having size 100*2 then how to plot 6 histograms in 1 plot?
댓글 수: 0
답변 (1개)
Walter Roberson
2015년 9월 2일
http://www.mathworks.com/help/matlab/ref/histogram.html#buiynvy-13 together with http://www.mathworks.com/help/matlab/ref/histogram.html#namevaluepairs 'Normalization', 'probability'
댓글 수: 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!