2
I’m doing a chart of an 84-month time series, but I wanted to change the scale of the x-axis for every 6 months to facilitate interpretation, but I cannot.
notif <- ts(not)
plot(notif, col=2, xlab="Tempo (meses)")
To try to change the x-axis scale I entered the following code:
plot(notif, col=2, xlab="Tempo (meses)", axis(1, seq(1, 84, 6)))
Give me the following message:
Error in xy.coords(x, y, xlabel, ylabel, log) : 'x' and 'y' lengths differ
What I’m doing wrong?
Welcome to Stackoverflow! Unfortunately, this question cannot be reproduced by anyone trying to answer it. Please, take a look at this link and see how to ask a reproducible question in R. So, people who wish to help you will be able to do this in the best possible way.
– Marcus Nunes