Matlab在figure中,展示出来colormap

徐飞龙
2023-12-01

Matlab在figure中,展示出来colormap

colorbar

figure;
set(gcf,'Position',[100 100 2000 500]);
sortedNeuronsHeatMap = dff;
imagesc(sortedNeuronsHeatMap);
set(gcf,'colormap',jet);
caxis([0 2]);
set(gca,'xtick',[],'xticklabel',[])
set(gca,'ytick',[],'yticklabel',[])
colorbar;
 类似资料: