powered by
plotFunctions(funcs, from = 0, to = 1, steps = 1024, type = "l", lty = 1:5, lwd = 1, lend = par("lend"), pch = NULL, col = 1:6, cex = NULL, bg = NA, xlab = "x", ylab = "y", legendpos = "bottomright", bty = "n", ...)
matplot
x
legend
bty
par
plot
main
plotFunctions(list(function(x) sin(x), function(x) cos(x), function(x) 0.5*sin(2*x)+1), -pi, pi, 256)
Run the code above in your browser using DataLab