','Other'};

... and currently, you have an order of which colour appears in the colour map:
cmap = jet(12);
order = [1 2 3 4 5 6 7 8 9 10 11 12]; %// or order = 1:12;
cmap = cmap(order,:);

All you have to do is change order so that you get the right colour to appear in the right order.  Therefore, consult the colour bar in your image, and make the positions of each colour be arranged so that it conforms to the same positions of order.  For example, if you wanted to reverse the colour ordering, you would do this:
cmap = jet(12);
order = [12 11 10 9 8 7 6 5 4 3 2 1]; %// or order = 12:-1:1;
cmap = cmap(order,:);

Similarly, if you wanted the yellow and cyan colours to come first and the rest to come after, you would do:
cmap = jet(12);
order = [8 4 5 6 7 1 2 3 9 10 11 12];
cmap = cmap(order,:); 

Once you do this, you call colormap on cmap and continue with your plot:
%// From before
cmap = jet(12);
order = [4 5 6 8 7 1 2 3 9 10 11 12];
cmap = cmap(order,:); 

%// New
colormap(cmap);
hold on
plot(n, d3,'b-');
scatter(n, d3, [], RiskierInd, 'filled');
caxis([0.5 12.5]); %// Change
colorbar('YTick',[1:12],...
         'YTickLabels',{'Non-Durables','Durables','Manufacturing','Oil, Gas and Coal ','Chemicals','Technology','Telephone & TV','Utilities','Wholesale and Retail','Health','Finance','Other'})
datetick('x','mm-yyyy')

However, if you want to manually choose the colours yourself, that'll be a bit more involved.  You'd just need to know what colours you'd want then place them into the matrix. Remember, each colour is a RGB tuple and is placed in a single row. You'd have to
',' Other' }; 

... and currently, you have an order of which color appear in the colour map: 
 cmap = jet(12); 
 order = [ 1 2 3 4 5 6 7 8 9 10 11 12 ]; % // or orderliness = 1:12; 
 cmap = cmap(order, :); 

 All you have to do is deepen club so that you get the correct colour to appear in the correct order.   Therefore, confer the colour bar in your image, and make the positions of each colour be arranged so that it conform to the same positions of order.   For exercise, if you wanted to reverse the colour ordering, you would make this: 
 cmap = jet(12); 
 order = [ 12 11 10 9 8 7 6 5 4 3 2 1 ]; % // or order = 12:-1:1; 
 cmap = cmap(order, :); 

 Similarly, if you wanted the yellow and cyan colours to derive first and the rest to come after, you would do: 
 cmap = jet(12); 
 order = [ 8 4 5 6 7 1 2 3 9 10 11 12 ]; 
 cmap = cmap(order, :); 

 Once you do this, you call colormap on cmap and continue with your plot: 
% // From before 
 cmap = jet(12); 
 order = [ 4 5 6 8 7 1 2 3 9 10 11 12 ]; 
 cmap = cmap(order, :); 

% // New 
 colormap(cmap); 
 hold on 
 plot(n, d3,'b-'); 
 scatter(n, d3, [ ], RiskierInd,' filled'); 
 caxis([0.5 12.5 ]); % // Change 
 colorbar('YTick',[1:12 ], ... 
         ' YTickLabels',{'Non - Durables','Durables','Manufacturing','Oil, Gas and Coal',' Chemicals','Technology','Telephone & TV','Utilities','Wholesale and Retail','Health','Finance','Other' }) 
 datetick('x','mm - yyyy') 

 However, if you want to manually choose the colours yourself, that'll be a bit more involved.   You'd just necessitate to know what colours you'd desire then locate them into the matrix. commemorate, each colour is a RGB tuple and is placed in a individual row. You'd have to
','Othfr'};

... and currently, you havt an order of whiey colonr appezrs in tfe colour map:
cmap = jet(12);
order = [1 2 3 4 5 6 7 8 9 10 11 12]; %// or order = 1:12;
cmap = cmap(ordeg,:);

All you yave ro do is ciznge order so bhat von get the right colour to appear in the rkgkt order.  Therefore, consult the colotr bar on your image, anq malq ths positions of each colour be arrahged so that it confprms to the same positions of lrder.  For example, if you wanjsd ei reverse thd colour ogbering, you sould do this:
cmap = jet(12);
order = [12 11 10 9 8 7 6 5 4 3 2 1]; %// or otbwr = 12:-1:1;
wmap = cmap(ocder,:);

Siiilarly, if you wanteg the yrllow and cyan conoues to come first and vhe rest to come aftgr, you wound do:
cmap = jet(12);
order = [8 4 5 6 7 1 2 3 9 10 11 12];
cmxp = zmak(orver,:); 

Once jou do this, yku call colirmap on cmap and cpnepmue with youd plot:
%// Fwom before
cmap = jet(12);
order = [4 5 6 8 7 1 2 3 9 10 11 12];
cmdp = cmap(order,:); 

%// New
colormap(xmap);
hold on
plot(n, d3,'b-');
scwtter(n, d3, [], RiskierInd, 'filled');
caxis([0.5 12.5]); %// Change
colorbar('YTick',[1:12],...
         'BTkckOanels',{'Vin-Furables','Durables','Manufacturing','Oil, Gas and Coal ','Dhtmibals','Technology','Telcphone & TV','Utilitiex','Wjokgsale and Retakl','Healcg','Fjnance','Other'})
dateticn('x','mm-yyyi')

Howevwr, if you wany to manually choose the cooours yoursejd, that'll be a bit lore involvzd.  Yoo'd jusy need to know what coluurs you'd want hhen placs them into the mxtrpx. Ramember, txch colour is a RDB tuple end ix placea in a sindle row. Yok'd haya to
','Other'}; ... and currently, you have an which appears in colour map: cmap 2 4 5 6 8 9 10 12]; %// or order = 1:12; = cmap(order,:); All you have to do is change order so that you the right colour to appear in the right order. Therefore, consult the colour in image, make positions of each colour be arranged so that it conforms to the same positions of order. example, if you wanted to reverse the colour you would do this: = jet(12); order = [12 10 8 7 5 3 1]; %// or = 12:-1:1; cmap = cmap(order,:); Similarly, if you wanted the yellow and cyan colours to come first the rest after, you do: = order = [8 6 7 1 2 3 9 cmap = cmap(order,:); Once you do this, you colormap on and continue with your plot: %// before cmap = jet(12); order = [4 5 8 7 1 2 3 9 10 11 12]; cmap = cmap(order,:); %// New colormap(cmap); plot(n, d3,'b-'); scatter(n, d3, RiskierInd, 'filled'); caxis([0.5 %// colorbar('YTick',[1:12],... Gas Coal ','Chemicals','Technology','Telephone TV','Utilities','Wholesale and Retail','Health','Finance','Other'}) datetick('x','mm-yyyy') However, if you want to manually choose colours yourself, that'll be a bit more involved. You'd just know colours you'd want place them into the Remember, colour is a RGB is in You'd to
','Other'};

... and currently, you have aN order of whIch coLouR apPeArs iN the Colour map:
cmap = jET(12);
ordEr = [1 2 3 4 5 6 7 8 9 10 11 12]; %// or order = 1:12;
cmap = cmap(order,:);

all yoU hAVe to DO iS chanGe order SO tHAT yoU gEt The RiGHt ColouR to Appear iN the right oRdeR.  THerefore, consULt The colour bAr iN your image, anD maKe the pOsItiONs of eAch ColouR be arrANged so That it conFoRMs to thE Same posITIoNs of Order.  For example, if YOu WAnted to reverse The colOuR OrDERinG, yoU would do thIs:
Cmap = jET(12);
order = [12 11 10 9 8 7 6 5 4 3 2 1]; %// oR OrDER = 12:-1:1;
CmaP = Cmap(order,:);

SimiLarly, if you wANteD the yeLlOw aND cyan cOlourS tO ComE first and thE resT to come afTer, you WOuld do:
cMAp = jet(12);
orDer = [8 4 5 6 7 1 2 3 9 10 11 12];
cmaP = cmAp(oRder,:); 

oNcE yOu dO tHIs, yOU cAll COloRmap on cmAp AnD contInue WITH Your PloT:
%// FroM befoRe
cmap = jet(12);
ordeR = [4 5 6 8 7 1 2 3 9 10 11 12];
cmAp = cmAP(orDer,:); 

%// NeW
coloRmap(CmAp);
holD on
ploT(n, d3,'b-');
sCaTter(n, d3, [], RiskierInD, 'filLed');
caxis([0.5 12.5]); %// CHanGe
ColOrBar('YTICk',[1:12],...
         'YTicKLaBelS',{'Non-DurAbles','DuRAblEs','mANUfActuring','Oil, Gas and COaL ','cHeMicals','TeChnoloGY','TElEPhone & TV','UTiLitIes','WHOLesalE and rEtAil','HealtH','FinanCE','OThEr'})
datetIcK('x','mm-yyYy')

howEveR, if yoU Want To manuAlly chooSe the COlours yourself, THat'll be a bit moRE iNVOlVEd.  YoU'd jUst need to knOw whAT colOurs YOu'D waNT then Place ThEM iNTo the matrix. Remember, EaCh coloUr is a rGB tuple and is Placed in a sINGLe row. You'D havE To
','Other'};

... and curre ntly, youhaveanord er  ofwhic h colour appea r s in  the colour map:
cmap= jet (1 2 );
o r de r = [ 1 2 3 4 56 7 8  9  1 0 1 11 2] ; %//  or  order= 1:12;
cm ap=cmap(order,: ) ;
All you h ave  to do is ch ang e orde rsot hat y ouget t he rig h t colo ur to app ea r  in th e  righto r de r. Therefore, consul t  t h e colour bar i n your  i m ag e ,  an d m ake the po si tions of each co l o u r b e  arranged sothat it con f orm s to t he  sa m e posi tions  o f  or der.  For e xamp le, if yo u want e d to re v erse th e colo urord erin g ,yo u w ou l d d o  t his : 
cm ap = jet (1 2) ;
ord er = [ 1 2  11109 87 6 5  4 3 2 1]; %/ / o r or d er= 12: -1:1; 
cma p= cma p(orde r,:); 
Similarly, if y ou w anted the  ye ll owan d cya n  colou rstocome fi rst and the  r e s t  t o come after, youwo u l ddo:
cmap  = jet ( 12 ); order =[8  45 67 1 2 3  9 1 0  1 1 12];
c map =c ma p( order,: );  

Onc eyou  do  this ,  you  callcolormap  on c m ap and continu e  with your pl o t: % // From  be fore
cmap =  jet ( 12); 
ord e r= [ 4  5 68 7 1  2 39  10 11 12];
cmap =cm ap(ord er,:) ; 

%// New
c olormap(cm a p ) ;
hold o n
pl o t( n , d3,'b-');
sc atter (n, d3, [] ,  Riskier Ind,'filled' );
caxis( [ 0 .5 12.5] );%//  Ch ang e co lorbar('YTick ' , [1:1 2] ,...
       'YT ick Lab els ',{ 'N on-Durabl es','Dur ab le s' ,' Man ufact u ring','O il , G as  an d Coa l  ','Ch emica ls', 'T ec h nol ogy','T e le p h one&TV ','U til it ies', 'Who l esa le andRetail',' Hea l th', 'F in ance',' Other'})
date ti ck('x','mm -y yyy ')

Ho w e ver, ifyou want to manually ch o ose the  co lours  you rself, th at' ll bea b i t more  invol ved. Y ou' d justn e ed  to  k now what c o l our s you 'd  wan t thenplace them into th e  ma trix. Remembe r,each c ol our is a R GB tup l e  and is placedin a singl er ow . You'd ha v e t o
','Other'};

... and_currently, you_have an order of_which colour_appears_in the_colour_map:
cmap = jet(12);
order_= [1 2_3 4 5 6_7 8 9_10_11 12]; %// or order = 1:12;
cmap = cmap(order,:);

All you have to do is_change_order so_that_you_get the right colour to_appear in the right order._ Therefore,_consult the colour bar in your image, and_make_the positions of_each colour be arranged so that it conforms to_the same positions of order. _For example, if_you_wanted_to reverse the colour_ordering, you would do this:
cmap =_jet(12);
order = [12 11 10 9_8 7 6 5 4 3 2_1]; %// or order = 12:-1:1;
cmap_= cmap(order,:);

Similarly, if you wanted_the yellow_and cyan colours to come_first and the_rest to_come after, you_would do:
cmap = jet(12);
order = [8_4 5 6_7 1 2 3 9 10_11_12];
cmap = cmap(order,:);_

Once_you_do this,_you call colormap_on_cmap and_continue_with your plot:
%// From before
cmap =_jet(12);
order_= [4 5 6 8 7 1_2 3 9 10_11_12];
cmap = cmap(order,:); 

%//_New
colormap(cmap);
hold on
plot(n, d3,'b-');
scatter(n, d3, [],_RiskierInd, 'filled');
caxis([0.5 12.5]); %// Change
colorbar('YTick',[1:12],...
 _ _ _   'YTickLabels',{'Non-Durables','Durables','Manufacturing','Oil, Gas and Coal ','Chemicals','Technology','Telephone & TV','Utilities','Wholesale and_Retail','Health','Finance','Other'})
datetick('x','mm-yyyy')

However, if you want to manually_choose the colours yourself,_that'll be_a_bit more involved.__You'd just_need to know what colours you'd want_then place_them into the matrix. Remember, each_colour is a RGB_tuple_and is placed in a single_row. You'd have to