l/2,10,{'Tide Model Driver';'for MATLAB'},'horiz','center',...
   'vert','middle','fontweight','bold',...
   'fontangle','italic','fontsize',36,'color','w');</pre><pre>% Plot
txt = text(0,0,10,{'Tide Model Driver';'for MATLAB'},'horiz','center',...
   'vert','middle','fontweight','bold',...
   'fontangle','italic','fontsize',36);</pre><pre>col = cmocean('phase',length(t));
txt.Color=col(1,:);</pre><pre>axis(ax); % ensures axis limits match in every frame</pre><pre>% Write the first frame:
gif('tmd_logo_v2.g