Skip to content
Prev 106159 / 398506 Next

two connected graphs

On Thu, 14 Dec 2006, Robin Hankin wrote:

            
Use the grid package.

You'll want to study the xscale arg of the viewport function (to set up 
your two plots using the same scale)

Calls to grid.move.to, seekViewport, and grid.line.to can be used to 
connect points in different plots (viewports)
Charles C. Berry                        (858) 534-2098
                                          Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	         UC San Diego
http://biostat.ucsd.edu/~cberry/         La Jolla, San Diego 92093-0717