[R] Odp: ploting continuos function

Petr PIKAL petr.pikal at precheza.cz
Fri Apr 22 13:23:10 CEST 2011


Hi

r-help-bounces at r-project.org napsal dne 22.04.2011 09:19:19:

> Hello R,
> 
> I would like to plot continuos function (e.g. y=x^2) without creating a
> sequence for x.
> Is there a possibility to somehow specify the range - x belongs to
> <-100,100>?

Something like

 curve(x^2, -100,100)

Maybe this function could be mentioned somewhere in See also for plot or 
lines.

Regards
Petr



> 
> --
> View this message in context: 
http://r.789695.n4.nabble.com/ploting-continuos-
> function-tp3467533p3467533.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list