Many thanks Paul, that is a nifty way to do it.
Regards
Ben
Paul Murrell wrote:
Hi
On 07/09/12 09:35, Benjamin Tyner wrote:
Update: seems one way to skin this cat is to add
gp = gpar(fontfamily=mono)
to the viewport() call itself. If anyone has any suggestions for a
robust way to
Hi
On 07/09/12 09:35, Benjamin Tyner wrote:
Update: seems one way to skin this cat is to add
gp = gpar(fontfamily=mono)
to the viewport() call itself. If anyone has any suggestions for a
robust way to extract this piece information from the key grob itself
(it's nested several levels
Hello
Within my panel function, I am using draw.key to create a custom key for
each panel. I'm trying to use grobWidth to calculate the correct width
for the viewport, but it appears to be disregarding the fontfamily when
computing the width. Attached is an example; any ideas what I'm doing
Update: seems one way to skin this cat is to add
gp = gpar(fontfamily=mono)
to the viewport() call itself. If anyone has any suggestions for a
robust way to extract this piece information from the key grob itself
(it's nested several levels deep), I'm all ears.
Thanks
Ben
4 matches
Mail list logo