Pcolor Plot returning error Color data input must be a matrix.
30 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I keep getting the above error with my code, i am trying to use the pcolor funtion to plot cell dominance, from z which is a 546x1 double.
x1 = 1:26;
y1 = 1:21;
[X1,Y1] = meshgrid(x1,y1);
z = Ind(:,1);
i = pcolor(x1, y1, z);
0 commentaires
Voir également
Catégories
En savoir plus sur Geographic 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!