pcolor map in matlab

前端 未结 1 672
星月不相逢
星月不相逢 2020-12-22 01:46

In matlab, we can use pcolor to show the magnitude of data in color. I am trying the following data

 A=[1:10; 16:25; 86:95];
 pcolor(A);

It

相关标签:
1条回答
  • 2020-12-22 02:17

    From documentation of pcolor

    In the default shading mode, 'faceted', each cell has a constant color and the last row and column of C are not used.

    Use imagesc instead

    imagesc(A);
    
    0 讨论(0)
提交回复
热议问题