Heatmap for 2d coordinates

2 次查看(过去 30 天)
Herbert
Herbert 2013-7-19
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 个评论
Chad Gilbert
Chad Gilbert 2013-7-19
What do you want a heat-map of? A third variable? The densiy of the scatter points?
Herbert
Herbert 2013-7-19
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.

请先登录,再进行评论。

回答(1 个)

the cyclist
the cyclist 2013-7-19
Without more detail, I would just point you to the image() command. Is that helpful?
  1 个评论
Herbert
Herbert 2013-7-19
编辑:Herbert 2013-7-19
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Data Distribution Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by