[R] To make a graph for 4 functions

quantum quantum at live.dk
Fri Apr 27 17:05:31 CEST 2012


lets say I have these function and I want to have a graph on them

y0=x^2
y1=x^3

Then I say this

x=seq(0,10,length.out=100)
plot(x,y0,y1,type="l")

but R does not give me a graph. How would you do it?

--
View this message in context: http://r.789695.n4.nabble.com/To-make-a-graph-for-4-functions-tp4592941p4592941.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list