plotFun(sin(x) ~x, xlim=c(-2*pi, 2*pi))
plotFun(sin, xlim=c(-2*pi, 2*pi))
plotFun( cos(x) ~ x, col="red", add=TRUE)
plotFun( sin(x) ~ x, xlim=c(-2*pi, 2*pi), col="navy" )
plotFun(D(sin(x) ~ x), add=TRUE, col="red")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.