Displaying 3 results from an estimated 3 matches for "rpretty".
Did you mean:
pretty
2002 Nov 08
0
Polar plot, circular plot (angular data): II
...;= twop) x[i] <- x[i] - twop
}
return(x)
}, fit.rad2 = function (th)
pp$fit.rad(pp$theta.zero + (!pp$theta.clw) * th - (pp$theta.clw) *
th), cartesian = function (r, th)
{
return(cbind(r * cos(th), r * sin(th)))
}, basis = function ()
{
if (is.null(pp$rupper))
pp$rpretty <<- pretty(0:ceiling(max(pp$r)))
if (is.numeric(pp$rupper))
pp$rpretty <<- pretty(0:pp$rupper)
if (is.numeric(pp$grid.circle.pos) & length(pp$grid.circle.pos) >
1)
pp$rpretty <<- pp$grid.circle.pos
pp$lab.dist <<- max(pp$rpretty)...
2002 Oct 17
0
Polar plot, circular plot (angular data)
...in title.
# sub: plot sub title.
fit.rad <- function(x, twop = 2 * pi) {
for (i in 1:length(x)) {
while (x[i] < 0) x[i] <- x[i] + twop
while (x[i] >= twop) x[i] <- x[i] - twop
}
return(x)
}
if (is.null(rlimits))
rpretty <- pretty(range(abs(r), 0, na.rm = TRUE))
if (is.numeric(rlimits) & length(rlimits) == 2)
rpretty <- pretty(range(abs(rlimits[1]), abs(rlimits[2])))
if (is.numeric(grid.circle.pos) & length(grid.circle.pos) >
1)
rpretty <- grid.circle.pos
l...
2001 May 27
3
plotting circles
I'd like to make some polar plots with R, but I can't seem to find anything
designed to help with that. Is there anyway to get a real polar mode, where
instead of x and y you have r and theta? How about a way to draw a circle?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send