Plot specific coloured dots
Show older comments
How can i plot coloured dots ?
A = [9,-5,838;9,-6,1087;10,-4,1669;9,4,747;9,5,925;9,6,973;10,1,1150;9,1,1236;9,3,563;10,-2,1085;10,-1,1150;40,4,787;10,6,750;10,-6,1070];
img = imread('Auto_grid.png');
figure;
imagesc(img);
figure;
scatter(M(:,1), M(:,2), 50, M(:,3), 'Filled')
colormap(jet(size(M,1)))
grid on
the Position in X and Y is saved in the array
the first row are the x values
the second row are the y values
the third row are my calculated values (HIC)
the colour depends on the third row
so if the HIC value :

in the end it should look like the png file in the attachment.
1 Comment
Julien Paare
on 19 Feb 2021
Accepted Answer
More Answers (0)
Categories
Find more on Blue in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!