Re: [R] image function with date-time on X axis

2010-04-30 Thread Halldór Björnsson
Thanks Peter zlevs and ylevs are similar, that was not the problem Following your suggestion I now use > image(tax, ylevs, Rmat, xaxt = "n") > axis.POSIXct(1, at = seq(tax[1],tax[length(tax)],by="1 day"),format="%d-%m") Which does what I wanted to do I still get the warning message, but other

Re: [R] image function with date-time on X axis

2010-04-29 Thread Peter Ehlers
On 2010-04-29 12:15, Halldór Björnsson wrote: I am trying to plot a image where the x axis has the units of time. When I issue the image(x,y,z) command with x as a POSIXct object, it fails to put a time stamp on the x axis. Instead I get a warning "Incompatible methods" warning and no dates on m

[R] image function with date-time on X axis

2010-04-29 Thread Halldór Björnsson
I am trying to plot a image where the x axis has the units of time. When I issue the image(x,y,z) command with x as a POSIXct object, it fails to put a time stamp on the x axis. Instead I get a warning "Incompatible methods" warning and no dates on my x axis. This example shows my problem: Rmat=