% MMkinetics.m
% Principles of Computational Modelling in Neuroscience
% Sterratt, Graham, Gillies, Willshaw
% Cambridge University Press, June 2011
% Fig. 6.1: Michaelis-Menten kinetics
% B. Graham, Computing Science & Maths, University of Stirling
% Contact: b.graham@cs.stir.ac.uk
% Last update: 1-7-2011

Smax=10;
dS=0.01;
S=0:dS:Smax;

Je=zeros(1,length(S));

tsize=9;
lsize=9;
nsize=9;
fname='Helvetica';
lcol=[0.66275 0.82353 1.0];

Km=0.5;
Je=S./(Km+S);
plot(S,Je,'k-','LineWidth',1);
hold on;
Km=2;
Je=S./(Km+S);
plot(S,Je,'-','LineWidth',1, 'color', lcol);
xlabel('Substrate [S]','FontSize',lsize,'FontName',fname);
ylabel('Flux {\it J}','FontSize',lsize,'FontName',fname);

set(gca,'Box','off');
set(gca,'LineWidth',1);
set(gca,'TickDir','out');
set(gca,'TickLength',[0.02 0.02]);

set(findobj('Type','line'),'LineWidth',1);
set(findobj('Type','text'),'FontSize',nsize,'FontName',fname);

