On 08/22/2013 07:56 AM, Prof J C Nash (U30A) wrote:
There are several items on the web about putting month names as tick
labels on x axis of time plots, but I found when I tried them they did
not work for me. After an hour or so of driving myself silly looking for
a bug in my code, I've prepared a reproducible example below, where I
did find a workaround, but would prefer to be able to plot a ts object.

Perhaps someone can spot the error in this. I'm sure it's something
silly or fumble-fingered.

JN

Hi,
Try this:

library(plotrix)
staxlab(1, at=1:28, label=months)

Jim

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to