[R] abline(v= x) in plot with time formated xaxis not working

David Winsemius dwinsemius at comcast.net
Thu Jul 16 04:36:59 CEST 2009


On Jul 15, 2009, at 5:25 PM, F!! wrote:

>
> Hi,
>
> I try to create a vertical line in my plot, which has a xaxis  
> comprising
> time formated data.
>
> This is what I tried:
>
> ----------------
>
> y<-152833
> x<-strptime(y, format="%H%M%S")
>
> abline(v=x, col="red")

But, but, but ... where is your plot function?


>
> ----------------
>
> for some reason, it doesn't work and no error msg is displayed...
>
> I hope someone can tell me what I do wrong, or maybe an alternative.
>
> Thanks in advance!!


David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list