Line profile on a scatter plot

조회 수: 6 (최근 30일)
Tom Blanpied
Tom Blanpied 2011년 8월 31일
Hi,
We'd like to derive a plot of point density vs. position along lines drawn on a scatter plot. Similar to an intensity profile as often drawn on image data. We could convert the scatter plots to pixelated density maps, but that degrades the resolution. Plus, the line profile tools I've seen so far for images are good, but not that interactive.
Key points for us would be:
  • user draws a line directly on the plot
  • lines can be at any angle, but do not need to be curved
  • density of points is measured within rectangular bins centered on the line
  • adjustable bin sizes (e.g. the number of bins the line is divided into, and the distance perpendicular to the line over which points from the scatter plot will be included)
  • preferably a live plot would be produced, updated when the user adjusts the position or length of the line, or edits the bin parameters
Has anyone seen or created such code or perhaps a GUI?
Tom
  댓글 수: 1
Walter Roberson
Walter Roberson 2011년 8월 31일
Interesting... could be a useful tool.

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

답변 (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