ezpolar | R Documentation |
Easy function plot w/o the need to define x, y
coordinates.
ezpolar(fun, interv = c(0, 2*pi))
fun |
function to be plotted. |
interv |
left and right endpoint for the plot. |
Calculates the x, y
coordinates of points to be plotted and
calls the polar
function.
Plots the function graph and invisibly returns NULL
.
Mimick the Matlab function of the same name.
ezplot
## Not run:
fun <- function(x) 1 + cos(x)
ezpolar(fun)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.