Skip to content

segment between points on different plots

3 messages · rajesh j, Baptiste Auguie, Greg Snow

#
Hi,

You should give a minimal reproducible example so that we know more  
precisely what you want to do (what's a "multigraph"?).

Perhaps you can get inspiration from Paul Murrell's R graphics book,  
in particular Figure 5.22,

http://www.stat.auckland.ac.nz/~paul/RGraphics/customgrid-latticeingrid.png


But that requires using Grid graphics as opposed to base graphics.  
Perhaps the gridBase package can help in this regard.

Hope this helps,

baptiste
On 16 Apr 2009, at 11:57, rajesh j wrote:

            
_____________________________

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
#
The help page for the cnvrt.coords function in the TeachingDemos package shows some examples of drawing lines/rectangles between multiple graphs created using par(mfrow=c(...

This function and the examples were written before the grconvertX and grconvertY functions, so use the example for the general idea, but it is better to use the grconvert functions rather than cnvrt.coords.

Hope this helps,