Skip to content
Prev 78850 / 398503 Next

bug checking

Thanks for the code and the clarifications, including the PDF file.

Yes, I can replicate the behavior here (R 2.2.0 on FC4) and I am cc:ing
Kurt Hornik, who ported chron to R and is the chron package maintainer.

It appears that the "culprit" is the argument 'col = "red"', which
towards the end of plot.times() is used as follows:

...
    else if (x.times)
        axis.times(1, x, simplify = simplify, labels = TRUE,
            adj = adj, col = col, cex = cex, font = font,
            las = las, lab = lab, mgp = mgp, tcl = tcl)
...

Thus, if the 'x' data is of class 'times', the above code is used and
the color of the axis line and tick marks are set to "red" as per the
'col' argument to axis(), which axis.times() ultimately calls.

This results in the behavior that you are seeing, where both the plot
symbols/lines and the axis are colored the same.

This does sound like a bug and Kurt can comment better on this.

HTH,

Marc Schwartz
On Tue, 2005-10-11 at 18:02 -1000, Parlamis Franklin wrote: