Re: [R] bug checking

2005-10-12 Thread Parlamis Franklin
Thanks all for following up. I'll consider the bug filed. I should note for the record that if 'col=red' is replaced in my code by 'col.main=red' the x axis is still made red. I'll use the workaround for now (for which thanks). Even with little things like this, plotting from the command

Re: [R] bug checking

2005-10-12 Thread Marc Schwartz
Three additional comments: 1. The same phenomena occurs on the y axis if the x and y values are reversed. 2. I neglected to mention this last night (my time), but given that chron is not part of the base R distribution, the proper procedure for actually filing a bug against the package would be

Re: [R] bug checking

2005-10-12 Thread Gabor Grothendieck
Yes, its a bug. The calls to axis.times in plot.times use the same col variable as the points do. This shows it more compactly: library(chron) x - seq.dates(from=09/30/2005, len = 10) plot(x, 1:10, col = red) A workaround would be to plot the X axis separately: plot(x, 1:10, col = red, xaxt =

Re: [R] bug checking

2005-10-11 Thread Marc Schwartz
On Tue, 2005-10-11 at 16:07 -1000, Parlamis Franklin wrote: I have observed the following behavior, wondering if it is a bug before I submit a report. I am using the plot function with call: plot(X, Y, col=red, . . . ) where X is an object that inherits from classes 'dates' and

Re: [R] bug checking

2005-10-11 Thread Parlamis Franklin
## Code was long, so I simplified it by creating vectors from scratch so it would run as is. Putative bug is still evidenced on the x axis discount.factors.dates - seq.dates(from=09/30/2005, to=09/30/2035) rates-seq(4.4, 5.2, by=0.0025); plot(discount.factors.dates[1:length(rates)], rates,

Re: [R] bug checking

2005-10-11 Thread Marc Schwartz
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