Scientific Software and Services for Systems Biology and Medical Cybernetics 

 MAIN MENU

 Welcome

 Software

 Services

 Contact






 CONTACT

Dr. Johannes W. Dietrich

D-45527 Hattingen,
Nordrhein-Westfalen
F. R. Germany
j.w.dietrich@[Host]

For [Host] please substitute "medical-cybernetics.de"

A function plotter in R:

With the statistical language R, it is very easy to write a simple function plotter in a few lines. Simply enter the following code in a script window:

# simple function plotter in R #

x <- seq(from=0, to=10, by=0.1);
y <- seq(from=0, to=5, by=0.05);
plot(x,y,type="n");
G <- 5;
D <- 2;
lines(x, G*x/(D+x));

Then modify the settings, e. g. coordinates and of course the function (the second argument of the "lines" function in the last line) as desired and execute the script. In the example, a Michaelis-Menten function with maximal output G (e. g. velocity or receptor density) and dissociation constant D is drawn.

The result will be as follows:

Important Hints

Interconnect


© 1999-2010 J. W. D.
Last Change: Sat, Apr 10, 2010