150,-40])%设置colorbar色阶范围
h=colorbar('fontname','Times')
set(get(h,'title'),'string','dB');
以下是设置色阶范围和设置标题的示例截图...2——放置在图形的左上角 top left
3——放置在图形的左下角 bottom left
4——放置在图形的右下角 bottom right
-1——放置在图形视窗的外右边
%设置图例字体及大小...DRC','After DRC');
set(h,'FontName','Times New Roman','FontSize',11,'FontWeight','normal','Location','northeast...')
%其中location的选项有:
'north' | 'south' | 'east' | 'west' | 'northeast' | 'northwest' | 'southeast' |...'southwest' | 'northoutside' | 'southoutside' | 'eastoutside' | 'westoutside' | 'northeastoutside' |