[R] many curves to the same plot
petr.pikal at precheza.cz
Mon Mar 26 17:01:58 CEST 2012
If you went through help page you probably could find it yourself in
shorter time then you spend writing email and waited for others to write
> Dear all,
> I would like to plot under the same plot
> many curves like
Why curve? Isn't plot enough?
Actually the value for mycdf in required interval is zero. To see the line
you need to extend x and not to redraw the plot is ensured by add=TRUE.
curve(mycdf,add=TRUE, from=-1,to=4, col=2)
> as you can see each new call to curve redraws (erases) the window. How I
> can have an effect like
> I would like to thank you in advance for your help
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help