assign scatter points into each grid and show probability in colorbar

조회 수: 4 (최근 30일)
hi everyone, I currently generated large amount of points, how can i divide the plane into many small grids and assign the points included as that specific grid, then show the probability of hitting the grids as different color with a colorbar next to the figure. so the result i am trying to get is different grid has different color showing the probability. thank you very much

채택된 답변

Walter Roberson
Walter Roberson 2013년 4월 2일
  댓글 수: 2
jason
jason 2013년 4월 3일
thanks for your help, this is what I meant, but after trying it, I think it will be better to use 3d for my case. Now im trying to figure out how to place an image as the background of x-y plane in hist3, I kinda stucked
Walter Roberson
Walter Roberson 2013년 4월 3일
You can surf() the histogram results.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Scatter Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by