Message-ID: <a4f0a13fc9cf44009758c664c212d223@BLUPR01MB035.prod.exchangelabs.com>
Date: 2014-08-25T12:00:09Z
From: Dario Strbenac
Subject: yaxs Causes Boundary Line Colour to Change
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