Probability visualization with color scale
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Emma Kuttler
el 30 de Nov. de 2019
Comentada: Image Analyst
el 1 de Dic. de 2019
Hi, I have a 296x296 matrix. Each cell in the matrix represents a probability of occurence, [0,1]. I want to create a grid or heatmap where the color of the square corresponds to the probability of occurence - the darker the cell the greater the probability. I have used histogram bins for this matrix and it didn't really represent the data the way that i wanted. I'd like to have something similar to this below, which was done using color scales in Excel.
0 comentarios
Respuesta aceptada
Image Analyst
el 30 de Nov. de 2019
imshow(yourMatrix, []);
colormap(hsv(256));
colorbar;
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Distribution Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!