yame | A generic 2D map editor for any kind of 2D map | Graphics library
kandi X-RAY | yame Summary
kandi X-RAY | yame Summary
A generic 2D map editor for any kind of 2D map.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of yame
yame Key Features
yame Examples and Code Snippets
Community Discussions
Trending Discussions on yame
QUESTION
I have a set of points stored in a variable called pts
, which is a Mx3
matrix.
Where pts(:,1)
are the x coordinates on the image, pts(:,2)
are the y coordinates on the image, and pts(:,3)
are the probabilities.
How can I visualize the points on the image as a heatmap. Points with higher probabilities shown in dense red color. Similar to the image attached.
Any help would be much appreciated!
...ANSWER
Answered 2019-Dec-01 at 10:32Due to the fact you didn't supply the data I cant use your example, but a simple solution to your problem is to use imagesc
on top of your image with the z
coordinate value as the color. you obviously should play with the transparency in order to get the desired result.
some simple example:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install yame
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page