I can't reproduce this on R 3.1.0 on linux or R 3.1.1 on Mac, using the default graphics device on each.
What graphics device are you using? If all else fails, you could use box() to draw over it. Sarah On Mon, Aug 25, 2014 at 8:00 AM, Dario Strbenac <dstr7...@uni.sydney.edu.au> wrote: > Why is the bottom boundary plotted in a different colour to the other three > sides ? > > set.seed(4444) > data <- rpois(10, 2) > plot(density(data), ann = FALSE, yaxs = 'i') # Grey bottom boundary. > plot(density(data), ann = FALSE) # All boundaries are black. > > Ideally, there would be black lines on all four sides. The documentation > doesn't say the colour will change. > >> sessionInfo() > R version 3.1.1 (2014-07-10) > Platform: x86_64-unknown-linux-gnu (64-bit) > > -------------------------------------- > Dario Strbenac > PhD Student > University of Sydney > Camperdown NSW 2050 > Australia > > ______________________________________________ > 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. -- Sarah Goslee http://www.functionaldiversity.org ______________________________________________ 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.