How can I change color when multiple dot are superimposed
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a graph with multiple point. I want to change color when 2 points are superimposed. By exemple, when 2 points are superimposed, the color of the resulting is pale blue. 3 points at same place, color is blue, 5 points yellow, 10=red etc.
with few points it would be easy to make a loop to check but I have a 64 X 120 matrix (y-axis) and a vector X 64
Thank
0 Kommentare
Antworten (1)
Image Analyst
am 13 Mär. 2015
Just plot the sum of y horizontally vs. x.
3 Kommentare
Image Analyst
am 15 Mär. 2015
Well maybe I'm thinking of your array wrong then. Why don't you first read this and then give a small example to show what the x and y values are and what colors you think they should be?
Jonathan Poirier
am 16 Mär. 2015
Bearbeitet: Jonathan Poirier
am 16 Mär. 2015
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!