Pcolor Plot returning error Color data input must be a matrix.
52 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Ver también
Categorías
Más información sobre Geographic Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!