Mark Heckmann
2009-Apr-07 08:28 UTC
[R] change inter-line spacing in grid graphics - how to?
I am trying to change the inter-line spacing in grid.text(), but I just don't find how to do it. pushViewport(viewport()) grid.text("The inter-line spacing\n is too big") popViewport() Can anyone help? TIA, Mark
hadley wickham
2009-Apr-07 13:27 UTC
[R] change inter-line spacing in grid graphics - how to?
Have a look at ?gpar - it will tell you about lineheight. Hadley On Tue, Apr 7, 2009 at 3:28 AM, Mark Heckmann <mark.heckmann at gmx.de> wrote:> I am trying to change the inter-line spacing in grid.text(), but I just > don't find how to do it. > > pushViewport(viewport()) > grid.text("The inter-line spacing\n is too big") > popViewport() > > Can anyone help? > TIA, Mark > > ______________________________________________ > R-help at 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. >-- http://had.co.nz/