https://github.com/cran/pracma
Tip revision: 26e049d70b4a1c237987e260cba68f6a9413736c authored by Hans W. Borchers on 09 April 2019, 04:10:07 UTC
version 2.2.5
version 2.2.5
Tip revision: 26e049d
ezpolar.Rd
\name{ezpolar}
\alias{ezpolar}
\title{
Easy Polar Plot
}
\description{
Easy function plot w/o the need to define \code{x, y} coordinates.
}
\usage{
ezpolar(fun, interv = c(0, 2*pi))
}
\arguments{
\item{fun}{function to be plotted.}
\item{interv}{left and right endpoint for the plot.}
}
\details{
Calculates the \code{x, y} coordinates of points to be plotted and
calls the \code{polar} function.
}
\value{
Plots the function graph and invisibly returns \code{NULL}.
}
\note{
Mimick the Matlab function of the same name.
}
\seealso{
\code{\link{ezplot}}
}
\examples{
\dontrun{
fun <- function(x) 1 + cos(x)
ezpolar(fun)
}
}
\keyword{ graphs }