plot_fun | R Documentation |
Plot a 2d mathematical function y = f(x)
plot_fun(
f = function(x) x + 1,
from = 0,
to = 5,
col = "black",
cartesian_plane = TRUE,
cartesian_plane_col = "black",
grid_at_x = NULL,
grid_at_y = NULL,
add = FALSE,
...
)
f |
a function |
from |
domain (plotting) starting point |
to |
domain (plotting) ending point |
col |
the function color |
cartesian_plane |
wheter to add a cartesian plane ... |
cartesian_plane_col |
... and its color |
grid_at_x |
at_x param for add_grid |
grid_at_y |
at_y param for add_grid |
add |
if TRUE the function is added within an existing graph |
... |
other params given to plot |
Nothing. As a side effect the plot of pch
.
plot_fun()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.