
x, y
coordinates.
fplot(f, interval, ...)
ezplot( f, a, b, n = 101, col = "blue", add = FALSE, lty = 1, lwd = 1, marker = 0, pch = 1, grid = TRUE, gridcol = "gray", fill = FALSE, fillcol = "lightgray", xlab = "x", ylab = "f (x)", main = "Function Plot", ...)
TRUE
.FALSE
.x
-axis.y
-axis.plot
.NULL
.
x, y
coordinates of points to be plotted and
calls the plot
function. If fill
is TRUE
, also calls the polygon
function
with the x, y
coordinates in appropriate order.
If the no. of markers
is greater than 2, this number of markers
will be added to the curve, with equal distances measured along the curve.
curve
## Not run:
# fun <- function(x) x * cos(0.1*exp(x)) * sin(0.1*pi*exp(x))
# ezplot(fun, 0, 5, n = 1001, fill = TRUE)
# ## End(Not run)
Run the code above in your browser using DataLab