On Sun, Jul 20, 2008 at 6:03 PM, Bryan Hanson <[EMAIL PROTECTED]> wrote:
> Still playing with Lattice...
>
> I want to use panel.text(x, y etc) but with x and y in plot coordinates
> (0,1), not user coordinates.
>
> I think if I had this problem with traditional graphics, I could use
> grconvertX to make the change.  I did come across convertX {grid} but this
> doesn't seem to be what I need.

Looking at the code for panel.text (lattice:::ltext.default) it looks
like the easiest way to go would be to call grid.text directly,
specifying the units ("npc") that you want to use.

Hadley


-- 
http://had.co.nz/

______________________________________________
R-help@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.

Reply via email to