Overlaying histogram with lines and not bars
조회 수: 6 (최근 30일)
이전 댓글 표시
Hi all.
Can somebody tell me how to plot histograms with lines instead of bars in Matlab?
Thanks.
댓글 수: 0
채택된 답변
bym
2011년 5월 14일
did you want something like
x = 5+2*randn(1000,1);
h = histc(x,(0:9));
stem(h,'b')
or like
plot(h,(0:9))
추가 답변 (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!