针对matlab2017渲染出的彩色图是黑白的问题。

colormap画出的图不是彩色问题

t=labels;
t(tstSet(:,end-1))=Relabels;
t=reshape(t,145,145);
t=t';
figure
imshow(t,[],'border','tight','InitialMagnification','fit');
        set (gcf,'Position',[600,100,350,350]);
    colormap('default');
        axis image;
        axis off;

在图片上选择 编辑——颜色图——工具——标准颜色图——jet.搞定!

colormap画出的图不是彩色问题

 

相关文章:

  • 2021-12-17
  • 2022-01-07
  • 2021-06-16
  • 2021-11-05
  • 2021-09-06
  • 2021-11-20
  • 2021-10-04
  • 2021-09-23
猜你喜欢
  • 2021-11-20
  • 2022-12-23
  • 2021-12-24
  • 2021-10-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案