Re: [R] Simple Problem: Plotting mathematical functions

2012-04-12 Thread Aye
Okay, i got this far: f <- function(x) 0.25*x^2 + 6.47*x -32.6 g <- function(x) 0.99*x^2 -6*x -195 h <- function(x) 0.77*x^2 +14*x -495 j <- function(x) 0.001*x^2 + 65*x -785 k <- function(x) 0.9*x^2 -2*x -636 plot(x, f(x), xlab="Elemente in der R

[R] Simple Problem: Plotting mathematical functions

2012-04-12 Thread Aye
Hey there, I want to plot 5 parabola functions, which happen to be f(x) = 0.25x² + 6,47x -32.6 g(x)=0.99x² -6x -195 j(x)= 0.77x² +14x -495 k(x)=0.001x² + 65x -785 l(x) = 0.9x² -2x -636 in the same graph. Sadly I even do not really understand how to plot just one graph