scatter plot custom colors
    4 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
Assume
a=[1 5 7 1 3 9 4 6 8 7];
b=[4 5 6 7 2 6 9 4 2 1];
c=[1 2 0 1 0 2 1 1 0 1];
scatter(a,b)
How can I now color the dots using a color code from 0 to 2 corresponding to the values in c?
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
				En savoir plus sur Scatter Plots dans Help Center et File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

