On 6/22/2009 7:58 AM, Steve Murray wrote:
Thanks for the response, however, whilst this eliminates the 'new line' 
character from appearing, it doesn't actually cause a new line to be printed! 
Instead, I have the last few characters of the first character string 
overlapping with the first few characters of the next.

How best should I change the code to execute a new line?

This works for me.

mtext(side=2, line=5.5, expression(paste("Monthly Summed Runoff (mm/month)\nand Summed Monthly Precipitation (mm x ",10^2,"/month)")))

Note that the newline is embedded in the string that you want to split, it's not a separate element of the label.

Duncan Murdoch

______________________________________________
[email protected] 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