swh:1:snp:1d6f9c912933e835b749aef1f8077112982fe84e
Raw File
Tip revision: 85eeff77b2e878cc9dbd7659e4acbc035be93c28 authored by Hans W. Borchers on 22 September 2022, 13:50:02 UTC
version 2.4.2
Tip revision: 85eeff7
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 }
back to top