用于設定色標表示形式,colorscale有兩種表現形式,‘Linear’ or ‘log’.
clear;close;
colormap(jet(50));
h = figure(1);set(h,'position',[10 10 1600 600])
subplot 121
mesh(peaks);colorbar;axis
subplot 122
mesh(peaks);colorbar;axis auto
set(gca,'ColorScale','log')

轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/401499.html
標籤:其他
