[R] Control of vertical spacing in Lattice key text?

From: Patrick Connolly <p.connolly_at_hortresearch.co.nz>
Date: Wed 16 Mar 2005 - 10:18:03 EST


I find the key and legend functions in Lattice very useful. Trouble is, now I can see what else I'd like to be able to do with them.

If I put a title on a key, it appears too close to the key itself, and if there's a line break in the title (which often happens), the leading between the lines is too much.

What I can do is print to a postscript file, then find the lines in the postscript file where my text appears and fiddle with the postscript code to move the text up or down as I wish. For single plots that's OK, but I'd prefer to be able to do it within R especially when I wish to do dozens of them.

Is there something in the documentation I overlooked?

TIA

-- 
Patrick Connolly
HortResearch
Mt Albert
Auckland
New Zealand 
Ph: +64-9 815 4200 x 7188

~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
I have the world`s largest collection of seashells. I keep it on all the beaches of the world ... Perhaps you`ve seen it. ---Steven Wright
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Mar 16 11:13:20 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:48 EST