What's the best way to plot overlapping and open ranges?
1 次查看(过去 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!