Hi All,

I need some help with adding text at the bottom of the graph (outside of
default outline of graph).

Say, I need to write "Month:   01     04" below each of the two years in the
following R code, something like this:

          _______________
          |                         |
          |         Plot          |
          |___  __________|
           1931          1932
Month:   01              04

# R code
require(lattice)
barchart(yield ~ year, data = barley,
  stack=TRUE,
  col="black",
  ylim=c(0,85)
)
Can anyone help please, thanks in advance,
Peng Cai

        [[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