Filter löschen
Filter löschen

Heatmap for 2d coordinates

2 Ansichten (letzte 30 Tage)
Herbert
Herbert am 19 Jul. 2013
Hello, I have a Matrix of dimensions (2xN) which consists of 2 dimensional Cartesian coordinates and I would like to create a heat map of this. Do you know any way to do this?
Thanks in advance!
  2 Kommentare
Chad Gilbert
Chad Gilbert am 19 Jul. 2013
What do you want a heat-map of? A third variable? The densiy of the scatter points?
Herbert
Herbert am 19 Jul. 2013
With heat map I mean a plot where e.g. red color indicates that a lot of points from the matrix are in a certain neighbourhood and blue would mean that all the other coordinates are far away.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

the cyclist
the cyclist am 19 Jul. 2013
Without more detail, I would just point you to the image() command. Is that helpful?
  1 Kommentar
Herbert
Herbert am 19 Jul. 2013
Bearbeitet: Herbert am 19 Jul. 2013
That for your suggestion. I added a comment what I mean with "heat map" I hope its now a bit clearer, sorry for that. Unfortunately the image command does not provide this.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Data Distribution Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by