R help,

I would like to change the labels of my tick marks on the x-axis, and I am
having difficulty understanding how.  Basically, my current axis labels
are: 0, 50, 100, 150, 200, and I would like: 1962Q1, 1974Q2, 186Q4, 1999Q2,
2011Q4.

With all respect to generality, could you please simply tell me the code to
achieve this in the context of this problem?  I learn programming by
example and will not be able to understand this:
ltext(x, y = NULL, labels = seq_along(x),
      col, alpha, cex, srt = 0,
      lineheight, font, fontfamily, fontface,
      adj = c(0.5, 0.5), pos = NULL, offset = 0.5, ..., identifier,
name.type)

Here's what I have:
 xyplot(share ~ ec, data=Cur, xlab="Years", ylab="Currency's Share of
Nominal GDP (Currency/GDP in a given year)", main="The Share of Currency
Over Time")

where ec refers to equal count data representing the year and quarter of
the year.

Thank you very much.
Sincerely,
Ryan Murphy

        [[alternative HTML version deleted]]

______________________________________________
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