Tena koe Roslina Check:
?rect ?quantile Perhaps those two functions will give you what you want. HTH .... Peter Alspach > -----Original Message----- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Roslina Zakaria > Sent: Wednesday, 2 December 2009 12:24 p.m. > To: r-help@r-project.org > Subject: [R] draw a box at 10% lower and upper in scatter plot > > > Hi, > > I would like to draw a box at each corner of lower 10% and > upper 10% in the scatter plot on(0,1)*(0,1) to indicate the > lower and upper tail. I hope somebody can help me. > > Here is my code: > ## scatter plot > plot(hume_uni[,2],beec_uni[,2], pch=19, xlab="Hume_uni", > ylab="Beec_uni", col= "blue") title(main="Scatter plot of > uniformised data of Hume and Beechworth", font.main= 4) > abline(lm(hume_uni[,2]~beec_uni[,2]), col= "red"). > > Thank you so much fro any help given. > > > > > > [[alternative HTML version deleted]] > > ______________________________________________ R-help@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.