Code covered by the BSD License  

Highlights from
Using SimBiology for Mechanism-Based PK/PD Modeling in Preclinical & Discovery

image thumbnail

Using SimBiology for Mechanism-Based PK/PD Modeling in Preclinical & Discovery

by

 

Examples used in the March 2012 webinar: Using SimBiology for Mechanism-Based PK/PD Modeling

doseResponsePlot(X1, Y1)
function doseResponsePlot(X1, Y1)
% Function to generate the dose vs. response plots 
% Copyright 2011 - 2012 MathWorks, Inc.

% Create figure
figure1 = gcf;

% Create axes
axes1 = get(figure1, 'CurrentAxes') ;
if isempty(axes1)
    axes1 = axes('Parent',figure1);
end 

% Set axes properties
set(axes1, 'YGrid','on','XScale','log','XMinorTick','on')
box(axes1,'on');

hold(axes1, 'all')
% Create semilogx
semilogx(axes1, X1,Y1,'Marker','o','LineWidth',2,'LineStyle',':');

% Create xlabel
xlabel('Dose (mg)','FontSize',12,'FontName','Times');

% Create ylabel
ylabel('log10CFU at 24 hour (CFU/ml)','FontSize',12,'FontName','Times');

% Create title
title('Effect vs. Dose','FontWeight','bold','FontSize',12,...
    'FontName','Times');



Contact us