Alternatively:
require(xts)
z.xts <- xts(cbind(1:100, 100:1), order.by=strptime(1322:1421, '%Y')
plot(z.xts)
-- H
> Em 14-07-2012 10:54, Jim Bouldin escreveu:
>
> OK, this has to be simple but I've searched through help files, mailing
>> list archives and well, everything I could think of, and st
Hello,
Actually, axis() was doing its job, but you have xlim=1:100 and cannot
expect to see points at x=1322:1421. The correct way would be to say
that your time series starts at 1322 and that it records observations
with a frequency of 1. Then plot it. Just look. I've nclude an axis(9
call t
OK, this has to be simple but I've searched through help files, mailing
list archives and well, everything I could think of, and still no luck.
I simply want to change the x axis labels in a time series graph, from its
default numbering (which starts at 1 and increments by 1), to values I have
in
3 matches
Mail list logo