Skip to content

layout and labels

3 messages · Bill Simpson

#
Suppose I use layout() to make a figure with 6 subplots.
Each subbplot has no x axis title and no y axis title.
I would like to create large axis titles running across the bottom and
across the left hand side of the overall figure (not one subplot).

How can I do this? Thanks very much for any help.

Bill Simpson

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
To clarify, I wanted something like this:

  |--------|  |--------|
  |        |  |        |
  |        |  |        |
s |        |  |        |
i |        |  |        |
x |--------|  |--------|
a
  |--------|  |--------|
y |        |  |        |
  |        |  |        |
s |        |  |        |
i |        |  |        |
  |--------|  |--------|
s
i |--------|  |--------|
h |        |  |        |
T |        |  |        |
  |        |  |        |
  |        |  |        |
  |--------|  |--------|
      
	  x axis

(y axis lettering should be rotated)

Thanks for any help.

Bill

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
OK got it:

mtext("x axis",side=1,outer=TRUE)
mtext("y axis",side=2,outer=TRUE)
Bill

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._