R - curve(): add curve on base plot

25 Nov 2017

Add a curve on existing plot:

curve(x^2, from=1, to=50, , xlab="x", ylab="y")
[ R  plot  ]