[R] segment between points on different plots

Greg Snow Greg.Snow at imail.org
Thu Apr 16 19:31:32 CEST 2009


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,

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of rajesh j
> Sent: Thursday, April 16, 2009 4:58 AM
> To: r-help at r-project.org
> Subject: [R] segment between points on different plots
> 
> Hi,
> 
> I need to draw a line segment between two points on different plots in
> the
> same multigraph.I've tried looking at the zoominplot function in
> plotrix but
> havent understood much.any help is appreciated
> 
> ~Aks
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> 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.




More information about the R-help mailing list