Try this: plot (1:4) polygon(c(0,0,5,5),c(0,5,5,0), border="lavenderblush1", col = "lavenderblush1") ###see how this overlays the axes lines box()
On Mon, Dec 28, 2009 at 6:38 AM, Dean1 <web13s...@yahoo.co.uk> wrote: > > How can I resolve this problem?... > > As a general example, > plot (1:4) > polygon(c(0,0,5,5),c(0,5,5,0), border="lavenderblush1", col = > "lavenderblush1") > ###see how this overlays the axes lines > > #I have tried... > for (k in 1:4) axis(k, lwd.ticks=0, label=F) > #...but this misses the corners > > > Any suggestions? > -- > View this message in context: > http://n4.nabble.com/graph-shading-is-overlaying-axes-tp989750p989750.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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<http://www.r-project.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. > -- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve? [[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.