Binning and averaging data

조회 수: 5 (최근 30일)
Samuel Wilson
Samuel Wilson 2018년 1월 27일
답변: Walter Roberson 2018년 1월 28일
  • 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
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...
Walter Roberson
Walter Roberson 2018년 1월 28일
y has negative numbers, you can't log() it usefully.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2018년 1월 28일

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by