You can use the coordinates of the plot region as fractions of the figure
region, par("plt"), to define the adj= argument of mtext(). And you can
use the number of lines of the plot margin to define the line= argument of
mtext(). For example:
plot.figure <- function() {
par(mfrow=c(3, 1), mar=
Hello,
for a multiple figures plot I am looking for the syntax to put text in the
top left of the margin (of the plot). I want my testfunction plot.figure to
place mtext in the top left of the red margin (created by box("figure",
col="red")).
Can anybody help?
Thanks
Hermann
plot.figure <- func
2 matches
Mail list logo