What's the best way to plot overlapping and open ranges?
조회 수: 2 (최근 30일)
이전 댓글 표시
I have a list of numbers and I have a list of ranges. If the smallest number is 600 and the maximum is 94223654 and there are 1872531 numbers (and a list of 145 ranges where some overlap), how do I represent where the values in the list of numbers overlap and where they match up with the ranges and how the ranges overlap? Should I use stem to plot it? I'm not sure how to go about it. Any advice would be helpful! Thanks
댓글 수: 0
답변 (2개)
Mikhail
2014년 8월 22일
how the numbers are scattered
n=[1 3 4 5 8 8 9 10 11 13];
x=min(n):(max(n)-min(n))/10:max(n);
hist(n,x)
So you will obtain histogram of how your numbers are scattered.
I don't understand about other stuff you asked
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Scatter Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!