Heatmap for 2d coordinates

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일

0 개 추천

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.

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

카테고리

도움말 센터File Exchange에서 Color and Styling에 대해 자세히 알아보기

태그

질문:

2013년 7월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by