Got it. It should be plot1.panel.1.2.off.vp and likewise.
Thanks
Saptarshi

On Sep 19, 2008, at 12:08 PM, Saptarshi Guha wrote:

> Hello,
> I have a multi-page display each consisting of two-panels above each  
> other.
> I need to draw a line from the top panel to bottom panel. Using  
> current.vpTree()
> i find that "plot1.panel.1.2.vp" and "plot1.panel.1.1.vp" are the  
> top and bottom ones respectively.
> I am using the following code(inspired by Paul Murrell's R Graphics)  
> to draw a line.
> (All the co-ordinates lie well within the ranges of the respective  
> panels)
>
> seekViewport("plot1.panel.1.2.vp")
> grid.move.to(unit(0.72,"native"),unit(3.8,"native"))
> seekViewport("plot1.panel.1.1.vp")
> grid.line.to(unit(1.2,"native"),unit(3.5,"native"))
>
> However, I can see the line in the bottom panel, but nothing in the  
> top. Is there some
> clipping going on?
>
> Thanks
> Saptarshi
>
> Saptarshi Guha | [EMAIL PROTECTED] | http://www.stat.purdue.edu/~sguha
>

Saptarshi Guha | [EMAIL PROTECTED] | http://www.stat.purdue.edu/~sguha
After years of research, scientists recently reported that there is,
indeed, arroz in Spanish Harlem.


        [[alternative HTML version deleted]]

______________________________________________
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