*For subplot(1,7,5)- I want to define the range of colorabar [0 6]*subplot(1,7,4)m_proj('Stereographic','lat',90,'long',300,'radius',35,'rect','on');m_contourf(long,lat,oct_skw_anom ,'linestyle','none');m_grid('linewi',1,'tickdir','out',... 'xtick',6,'ytick',[72 76 80 84 88 90]); m_coast('patch',[.6 .6 .6],'edgecolor','k');m_elev('contour',[ ],'edgecolor',' '); colorbar( 'location','southoutside');subplot(1,7,5)m_proj('Stereographic','lat',90,'long',300,'radius',35,'rect','on');m_contourf(long,lat,oct_kts_anom ,'linestyle','none');m_grid('linewi',1,'tickdir','out',... 'xtick',6,'ytick',[72 76 80 84 88 90]); m_coast('patch',[.6 .6 .6],'edgecolor','k');m_elev('contour',[ ],'edgecolor',' '); caxis = ([0, 6]);h = colorbar(caxis, 'southoutside');
MATLAB: To define the axes for just one subplot colorabar
axesaxiscaxiscolorbar
Best Answer