Displaying 4 results from an estimated 4 matches for "axisint".
Did you mean:
arising
2003 Jun 26
2
Plots using POSIX
Is there a reason that the bottom axis changes color when POSIX data is used
in plot function?
For example:
> timedata <- c("2/3/2003","3/4/2003","5/4/2003")
> timedata2 <- strptime(timedata,format="%m/%d/%Y")
> numdata <- c(2,3,4)
> plot(as.POSIXct(timedata2),numdata,col="red",type="o")
As compared to:
>
2003 Jun 27
1
R-help Digest, Vol 4, Issue 27 ( -Reply)
...s there a reason that the bottom axis changes color when POSIX data is used
>in plot function?
It's the old problem of too much of ... being passed onwards. Here's
the current definition:
plot.POSIXct <- function (x, y, xlab = "", xaxt = par("xaxt"), ...)
{
axisInt <- function(x, main, sub, xlab, ylab, ...) axis.POSIXct(1,
x, ...)
plot.default(x, y, xaxt = "n", xlab = xlab, ...)
if (xaxt != "n")
axisInt(x, ...)
}
The "col" argument is being passed to axisInt, but it should have been
intercepted. Here...
2008 Feb 15
3
lineplot.CI problem
Hi List,
I have a problem plotting data using the lineplot.CI command in the sciplot package.
I want to plot the data of 2 experimental cases using different lines (traces). Time is on the X-axis. The tricky thing is that the data collection in the second case started later than for the first case. This is to say: the first n data points for the second case are missing.
So far so good. However,
2006 Mar 02
2
'...' passed to both plot() and legend()
Dear R-devels,
I'd like to create a plot method for a class of objects that passes
the '...' argument to both plot() and legend(), e.g.,
x <- list(data = rnorm(1000))
class(x) <- "foo"
plot.foo <- function(x, legend = FALSE, cx = "topright", cy = NULL,
...){
dx <- sort(x$data)
plot(dx, dnorm(dx), type = "l", ...)
if (legend)