Dear R users, Is it possible to add comments in a plot window? I have 3 plots -> this plots have to be commented on same window Is possible to do the following : http://www.nabble.com/file/p18193822/plot%2526comments.JPG plot%26comments.JPG I don't know how to do it. Maybe plot.window or something like that. Any suggestions?? Thanks in advance, Adel. -- View this message in context: http://www.nabble.com/Add-comments-on-plot-window-tp18193822p18193822.html Sent from the R help mailing list archive at Nabble.com.
On 30/06/2008, at 11:43 PM, mysimbaa wrote:> > Dear R users, > > Is it possible to add comments in a plot window? > I have 3 plots -> this plots have to be commented on same window > Is possible to do the following : > http://www.nabble.com/file/p18193822/plot%2526comments.JPG > plot%26comments.JPG > > I don't know how to do it. Maybe plot.window or something like that. > > Any suggestions???layout ###################################################################### Attention:\ This e-mail message is privileged and confid...{{dropped:9}}
On Mon, 2008-06-30 at 04:43 -0700, mysimbaa wrote:> Dear R users, > > Is it possible to add comments in a plot window? > I have 3 plots -> this plots have to be commented on same window > Is possible to do the following : > http://www.nabble.com/file/p18193822/plot%2526comments.JPG > plot%26comments.JPG > > I don't know how to do it. Maybe plot.window or something like that. >Hi Adel, Maybe addtable2plot (plotrix) will do the trick. Jim
I solved the problem with plot(0:1,0:1, type = "n", axes=FALSE,xlab="",ylab="") text(...) Thanks, Adel mysimbaa wrote:> > Dear R users, > > Is it possible to add comments in a plot window? > I have 3 plots -> this plots have to be commented on same window > Is possible to do the following : > http://www.nabble.com/file/p18193822/plot%2526comments.JPG > plot%26comments.JPG > > I don't know how to do it. Maybe plot.window or something like that. > > Any suggestions?? > Thanks in advance, > Adel. >-- View this message in context: http://www.nabble.com/Add-comments-on-plot-window-tp18193822p18214155.html Sent from the R help mailing list archive at Nabble.com.
Try this. mar is used to widen the right margin and xpd allows display outside of the plot. See ?par and ?legend op <- par(mar = c(5, 4, 4, 10) + 0.1, xpd = TRUE) plot(1:10) legend("topright", inset = c(-.3, 0), "abc\ndef", box.lty = 0) par(op) On Mon, Jun 30, 2008 at 7:43 AM, mysimbaa <adel.tekari at sisltd.ch> wrote:> > Dear R users, > > Is it possible to add comments in a plot window? > I have 3 plots -> this plots have to be commented on same window > Is possible to do the following : > http://www.nabble.com/file/p18193822/plot%2526comments.JPG > plot%26comments.JPG > > I don't know how to do it. Maybe plot.window or something like that. > > Any suggestions?? > Thanks in advance, > Adel. > -- > View this message in context: http://www.nabble.com/Add-comments-on-plot-window-tp18193822p18193822.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. >