Line profile on a scatter plot
조회 수: 6 (최근 30일)
이전 댓글 표시
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
답변 (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!