[R] line joining graphs

baptiste auguie ba208 at exeter.ac.uk
Mon Feb 23 14:18:08 CET 2009


Paul Murrell's book provides such an example using Grid (figure 5.22).  
A short example is available on his website:

http://www.stat.auckland.ac.nz/~paul/grid/doc/moveline.pdf

It may be possible to use this in conjunction with gridBase.


baptiste


On 22 Feb 2009, at 20:43, Eik Vettorazzi wrote:

> hi,
> you can use par(xpd=TRUE)  and draw the joining line in every sub  
> graph
> -  don't know if there is another way with simple graphs
> eg:
>
> par(mfcol=c(1,2))
> plot(1,1,xlim=c(0,5),main="1st")
> op<-par(xpd=TRUE)
> abline(h=1)
>
> plot(1,1,xlim=c(0,5),main="2nd")
> abline(h=1)
>
> hth.
>
> rajesh j schrieb:
>> hi,
>> I need to draw a line joining graphs,but abline stops within a  
>> graph.What do
>> i do to cover portions between two graphs
>>
>>
>
> ______________________________________________
> 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.

_____________________________

Baptiste Auguié

School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK

Phone: +44 1392 264187

http://newton.ex.ac.uk/research/emag



More information about the R-help mailing list