I want to plot a multiline annotation including a mathematical expression using 
grid graphics (grid.text).
This works fine for a single line, but the math expression is misplaced when I 
insert a line break ("\n" escape sequence):

grid.text(expression(paste("Some words here\n more ", sigma)))

Does someone have an idea how to fix that?
TIA!

Mark
–––––––––––––––––––––––––––––––––––––––
Mark Heckmann
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com

______________________________________________
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