clear				% Clear previous definitions
figure(1)           % Assign figure number
clf                 % Clear previous figures
hold off            % Start with fresh graph

mytitle = 'Competition'; 	% Title
xlab = '$t$ (hr)'; 		        % X-label
ylab = 'Yeast (Vol)'; 	        % Y-label

load('yeast');

[t,Y] = ode23(@compet,[0,50],[0.41095;0.62578],[],0.25864,0.020298,0.057011,0.057443,0.0097689,0.0047576);	

plot(t,Y(:,1),'b-','LineWidth',1.5);  
hold on                           
plot(t,Y(:,2),'-','color',[0,0.6,0],'LineWidth',1.5);
plot(tdmix,scdmix,'bo','LineWidth',1.5);
plot(tdmix,skdmix,'o','color',[0,0.6,0],'LineWidth',1.5);

grid                                % Adds Gridlines
%legend({'$c_1(t)$','$c_2(t)$'},4, 'FontSize',10,'FontName','Times New Roman','interpreter','latex');  % Create legend
text(32,9.5,'{\it S. cerevisiae}','FontSize',14,'Color','b',...
    'FontName','Times New Roman','interpreter','latex');
text(28,1.8,'{\it S. kephir}','FontSize',14,'Color',[0,0.6,0],...
    'FontName','Times New Roman','interpreter','latex');
axis([0 50 0 12]);  % Defines limits of graph

fontlabs = 'Times New Roman';   % Font type used in labels
xlabel(xlab,'FontSize',14,'FontName',fontlabs,'interpreter','latex');  
        % x-Label size and font
ylabel(ylab,'FontSize',14,'FontName',fontlabs,'interpreter','latex');  
        % y-Label size and font
title(mytitle,'FontSize',16,'FontName','Times New Roman','interpreter','latex'); 
        % Title size/font
set(gca,'FontSize',12);         % Axis tick font size

print -depsc yeast_compd.eps		% Create figure as EPS file

figure(2);

mytitle = 'Competition'; 	% Title
xlab = '$t$ (hr)'; 		        % X-label
ylab = 'Yeast (Vol)'; 	        % Y-label

load('yeast');

[t,Y] = ode23(@compet,[0,600],[0.41095;0.62578],[],0.25864,0.020298,0.057011,0.057443,0.0097689,0.0047576);	

plot(t,Y(:,1),'b-','LineWidth',1.5);  
hold on                           
plot(t,Y(:,2),'-','color',[0,0.6,0],'LineWidth',1.5);
plot(tdmix,scdmix,'bo','LineWidth',1.5);
plot(tdmix,skdmix,'o','color',[0,0.6,0],'LineWidth',1.5);

grid                                % Adds Gridlines
text(220,7.5,'{\it S. cerevisiae}','FontSize',14,'Color','b',...
    'FontName','Times New Roman','interpreter','latex');
text(450,6.3,'{\it S. kephir}','FontSize',14,'Color',[0,0.6,0],...
    'FontName','Times New Roman','interpreter','latex');
axis([0 600 0 12]);  % Defines limits of graph

fontlabs = 'Times New Roman';   % Font type used in labels
xlabel(xlab,'FontSize',14,'FontName',fontlabs,'interpreter','latex');  
        % x-Label size and font
ylabel(ylab,'FontSize',14,'FontName',fontlabs,'interpreter','latex');  
        % y-Label size and font
title(mytitle,'FontSize',16,'FontName','Times New Roman','interpreter','latex'); 
        % Title size/font
set(gca,'FontSize',12);         % Axis tick font size

print -depsc yeast_long.eps		% Create figure as EPS file