How to change colour of data points depending on value of the data (i.e data range)
1 view (last 30 days)
Show older comments
How do you change the color of data points (using a colormap) depending on value of a third variable. Patches??
Longitude = Pos(: , 1);
Latitude = Pos(: , 2);
plot(Longitude, Latitude);
hold
Data = Pos(: , 3);
0 Comments
Accepted Answer
Walter Roberson
on 18 Apr 2012
pointsize = 12;
scatter(Longitude, Latitude, pointsize, Data)
2 Comments
More Answers (0)
See Also
Categories
Find more on Polygons in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!