Line profile on a scatter plot

6 vues (au cours des 30 derniers jours)
Tom Blanpied
Tom Blanpied le 31 Août 2011
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 commentaire
Walter Roberson
Walter Roberson le 31 Août 2011
Interesting... could be a useful tool.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Scatter Plots dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by