It is code to use for plotting
figure(1)
hold on
cellfun(@plot, T_cmems_out, depth_cmems)
set(gca, 'YScale', 'log');
set(gca, 'YTickLabel', get(gca,'YTick'))
grid on
grid minor
set(gca,'FontSize',18);
xlabel('Temperature (^oC)','fontsize',14)
ylabel('Depth (m)','fontsize',14')