On 12/17/2010 10:41 PM, phils_mu...@arcor.de wrote:
Hi,
I want to have a title for the y-axis on the right side of the plot.
I know how to do it on the left side:
title(ylab="Title for y-axis")
But how can I have the title on the right side?
Hi Phil,
You probably want to add some margin on the right before you do the plot:
par(mar=c(5,4,4,4))
plot(...)
then:
mtext("Right side",side=4,line=2)
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.