Apologies to John - I should have thought to give an example. However, xpd is what I was looking for. Thanks for the help!
On 14 May 2013 14:55, David Carlson <dcarl...@tamu.edu> wrote: > Let's try again after restraining Outlook's desire to use html. > > set.seed(42) > dat <- matrix(c(runif(48), 0, 0), 25, 2, byrow=TRUE) > > # Complete plot symbol on axes, but axis on top > plot(dat, xaxs="i", yaxs="i", pch=16, col="red", xpd=TRUE) > > # Complete plot symbol on axes with symbol on top > plot(dat, xaxs="i", yaxs="i", type="n") > points(dat, xaxs="i", yaxs="i", pch=16, col="red", xpd=TRUE) > > ------------------------------------ > David L Carlson > Associate Professor of Anthropology > Texas A&M University > College Station, TX 77840-4352 > > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On > Behalf Of John Kane > Sent: Tuesday, May 14, 2013 7:47 AM > To: Jonathan Phillips; r-help@r-project.org > Subject: Re: [R] points overlay axis > > Probably but since we don't know what you are doing, it is very hard to > give > any advice. > > Please read this for a start > https://github.com/hadley/devtools/wiki/Reproducibility and give us a > clear > statement of the problem > > Thanks > > John Kane > Kingston ON Canada > > > > -----Original Message----- > > From: 994p...@gmail.com > > Sent: Tue, 14 May 2013 13:34:35 +0100 > > To: r-help@r-project.org > > Subject: [R] points overlay axis > > > > Hi, > > I'm trying to do quite a simple task, but I'm stuck. > > > > I've set xaxs = 'i' as I want the origin to be (0,0), but > > unfortunately I have points that are sat on the axis. R draws the > > axis over the points, which hides the points somewhat and looks > unsightly. > > Is there any way of getting a point to be drawn over the axis? > > > > Thanks, > > Jon Phillips > > > > [[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. > > ____________________________________________________________ > FREE ONLINE PHOTOSHARING - Share your photos online with your friends and > family! > Visit http://www.inbox.com/photosharing to find out more! > > ______________________________________________ > 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. > > ______________________________________________ > 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. > > [[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.