An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090416/b459ba5b/attachment.pl>
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:
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.
_____________________________ 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,
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.