Pcolor Plot returning error Color data input must be a matrix.
조회 수: 30 (최근 30일)
이전 댓글 표시
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Geographic Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!