On 26/04/2010 6:05 AM, karine heerah wrote:
hi everybody,
How can you plot some dates? I mean how can i have the tickmarks with the label
of each date on my x axis?
The dates i use are in POSIXct format, i don't know if it matters.
If your x variable is a POSIXct variable, it will
On 04/26/2010 08:05 PM, karine heerah wrote:
hi everybody,
How can you plot some dates? I mean how can i have the tickmarks with the label
of each date on my x axis?
The dates i use are in POSIXct format, i don't know if it matters.
Hi Karine,
Here's one way:
plot(1:3,xaxt="n")
tickpos
hi everybody,
How can you plot some dates? I mean how can i have the tickmarks with the label
of each date on my x axis?
The dates i use are in POSIXct format, i don't know if it matters.
thanks a lot
Karine
__
Hi,
here is a code snippet that will help you achieve what you want. With it,
you can format the Date object to display any aspect of the Date on the
x-axis, like dd-mm, dd-, or day, etc.
See the help on strftime() for the formatting key.
d1 <- "10/10/2009"
d2 <- "10/11/2009"
d3 <- "10/12/
Hallo,
I am trying to plot dates in x-axis. The format of my dates are in dd/mm/.
At first I install zoo package. After R reads my file, I change the default
format of dates to the format that I have,
>myfile<-read.csv
>DATE<-as.Date(DATE,format="%d/%m/%Y")
up till now everything goes ok;
5 matches
Mail list logo