之前提过matlabstartup文件的设置(http://hi.baidu.com/curbzz/item/d9a0b0315061ea5381f1a7d8),换成2014b之后把之前的文件略整理了下,colororder没什么用了暂且注释掉
其他的设置,还要再考虑怎么改变,我个人倾向于把色彩循环取消掉
==================================================
function startup
[~,s]=weekday(datenum(today),'long');
disp(' Hi, yourname')
disp([' It is ',s,' today'])
%% Figure Size
scrsz = get(0,'ScreenSize');
set(0,'DefaultFigurePosition',[0.2*scrsz(3) 0.3*scrsz(4) 0.57*scrsz(3) 0.56*scrsz(4)]);
clear scrsz
%% Grids
set(0,'DefaultAxesXGrid','on');
set(0,'DefaultAxesYGrid','on');
set(0,'DefaultAxesBox','on');
%% Lines
set(0,'DefaultAxesLineWidth',1.5);
set(0,'DefaultLineLineWidth',1.5);
%% Text Size
set(0,'DefaultAxesFontsize',15);
set(0,'DefaultTextFontsize',15);
% set(0,'DefaultAxesFontWeight','bold');
% set(0,'DefaultTextFontWeight','bold');
%% Text Fonts
% set(0,'DefaultTextFontname','Arial')
% set(0,'DefaultAxesFontname','Arial')
set(0,'DefaultTextFontname','Times New Roman')
set(0,'DefaultAxesFontname','Times New Roman')
%% Color Order
% colororder = ...
% [ 0 0.4470 0.7410;... blue
% 0.8500 0.3250 0.0980;... red
% 0.9290 0.6940 0.1250;... darkyellow
% 0.4940 0.1840 0.5560;... mageta
% 0.4660 0.6740 0.1880;... green
% 0.3010 0.7450 0.9330;... cyan
% 0.6350 0.0780 0.1840]; %brown
% colororder =...
% [63 64 150;... blue...
% 238 51 56;... red
% 206 192 38;... dark yellow
% 187 125 180;... magenta
% 0 176 208;... cyan
% 0 138 77;... green
% 37 37 37;... black
% 196 122 47;... brown
% 245 132 53;... orange
% ]/255;
% colororder = [[.1 .1 .1];[.3 .3 .3];autumn(21)];
% set(0,'DefaultAxesColorOrder',colororder)
%% Line order
% set(0,'DefaultAxescolorOrder','-|-.|--');
% set(0,'DefaultAxesLineStyleOrder','-');
%%
set(0,'DefaultFigureColor','w');
set(0,'DefaultFigureInvertHardcopy','off');
set(0,'DefaultFigurePaperPositionMode','auto');
set(0,'DefaultTextInterpreter','tex'); %uncompatible with m_map
% set(text_handle,'Interpreter','none')
end