Re: [R] textbox in lattice

From: Paul Murrell <p.murrell_at_auckland.ac.nz>
Date: Thu, 03 Jun 2010 15:26:00 +1200

Hi

On 2/06/2010 7:33 p.m., baptiste auguie wrote:
> On 2 June 2010 07:55, Deepayan Sarkar<deepayan.sarkar@gmail.com> wrote:
>>
>>
>> Something like this should also work, except that the grob produced by
>> tableGrob() doesn't seem to know its height.
>
> Indeed, I have not been successful in writing good
> widthDetails/heightDetails methods for this grob since all the drawing
> calculations are made in the drawDetails method. Maybe some of these
> calculations don't really need to be made at drawing time.

Or the same drawing calculations have to be repeated within width/heightDetails - those methods should get run within the same graphical context as the drawDetails method.

Paul

> Best,
>
> baptiste
>
> ______________________________________________
> 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.

-- 
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
paul_at_stat.auckland.ac.nz
http://www.stat.auckland.ac.nz/~paul/

______________________________________________
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.
Received on Thu 03 Jun 2010 - 03:32:14 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 03 Jun 2010 - 06:50:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive