Binning and averaging data
6 次查看(过去 30 天)
显示 更早的评论
- Item one. I have produced a plot which is quite messy. I am wanting to 'bin' the data along the y-axis in intervals of; 10^4-10^5, 10^5-2^6, 2^6-3^6, 3^6-4^6, 4^6-5^6, and so on in intervals of 1^6.
- Item two. I then want to average these bins with error bars, basically to neaten it out, as there is a lot of data in this plot, and make any trends in the data clearer.
2 个评论
dpb
2018-1-27
Much easier fof folks if you provide the data so they don't have to make up something.
My first try would be to hist with log(y) for binning...
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!