Displaying 6 results from an estimated 6 matches for "maxnumpt".
Did you mean:
maxnumpts
2008 Dec 04
1
xspline, graphical parameters and MAXNUMPTS
Hello,
I am having two difficulties with xspline:
1) Passing lty=2 (via ...) appears to have no effect
2) Apparently depending on the current plot axes, I may or may not
get the failure: add_point - reached MAXNUMPTS (25200)
This happens both on Linux/R 2.8.0 (details below) and Windows Vista/R
2.8.0 patched (2008-10-21 r46766)
Simplest case:
plot(c(0,1),c(0,1))
xspline(c(0,1),c(0,1)) # failure MAXNUMPTS
xspline(c(0,0.5,1),c(0,1,0),border=2,lty=2) # OK-ish, red, but no dashes
More complex case:
x...
2008 Jan 14
2
Need help with xspline error message in R 2.6.1 on Windows XP
I am attempting to generate a series of plots with cubic B-Splines and
the code I am using is generating the following error message that I
have been unable to resolve.
Error in grid.Call.graphics("L_xspline", x$x, x$y, x$shape, x$open,
x$arrow, : add_point - reached MAXNUMPTS (25200)
This is the code that generates this error.
plot.results <- function(dfn) {
dt <- read.table(dfn)
shp <- rep(1, as.numeric(length(dt$year)))
shp[1] <- shp[as.numeric(length(dt$year))] <- 0
grid.rect()
pushViewport(plotViewport(c(5.1, 4.1, 4.1, 2.1)))
pushViewport(dat...
2008 Dec 22
0
R 2.8.1 is released
...)
o xspline() now respects inline par settings.
It and grid.xspline() now handle the special case of only two
control points, and splines with control points that are
located well outside the device (e.g., a zoomed view of a
larger curve). (Both cases were giving the error "reached
MAXNUMPTS").
o In setClass("C", contains="list"); x <- new("C", 1:3), x[2:3] now
remains of class "C". So does rep(x, 2) or rep.int(x, 3).
o median.default() now also works for "numeric"-like vectors.
o The pdf() device ca...
2008 Dec 22
0
R 2.8.1 is released
...)
o xspline() now respects inline par settings.
It and grid.xspline() now handle the special case of only two
control points, and splines with control points that are
located well outside the device (e.g., a zoomed view of a
larger curve). (Both cases were giving the error "reached
MAXNUMPTS").
o In setClass("C", contains="list"); x <- new("C", 1:3), x[2:3] now
remains of class "C". So does rep(x, 2) or rep.int(x, 3).
o median.default() now also works for "numeric"-like vectors.
o The pdf() device ca...
2009 Apr 17
0
R 2.9.0 is released
..., but apparently undocumented.)
o deparse(control="S_compatible") now never uses backticks.
o X-spline drawing is improved for cases where the control
points are located well off the edges of the device.
The symptom of this problem is the error "reached MAXNUMPTS".
o exists() with mode= "any" will no longer run an active binding's
function.
o format(c(1 + 2i, NA)) no longer has extraneous space in " NA".
o mood.test() could fail in 2.8.x on large samples because of
integer overflow.
o...
2009 Apr 17
0
R 2.9.0 is released
..., but apparently undocumented.)
o deparse(control="S_compatible") now never uses backticks.
o X-spline drawing is improved for cases where the control
points are located well off the edges of the device.
The symptom of this problem is the error "reached MAXNUMPTS".
o exists() with mode= "any" will no longer run an active binding's
function.
o format(c(1 + 2i, NA)) no longer has extraneous space in " NA".
o mood.test() could fail in 2.8.x on large samples because of
integer overflow.
o...