Skip to content

change inter-line spacing in grid graphics - how to?

2 messages · Mark Heckmann, Hadley Wickham

#
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
#
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: