On Mon, 28 Jul 2008, Nutter, Benjamin wrote:
Try sourcing in the 'new.legend' function below. It's the legend
function with a new argument called 'box.col'. The argument will change
the color of the box surrounding the legend. If I understand what it is
you are looking for, this should work.
The current default for the box/frame colour is not "black" (it is
par("fg")), but otherwise I've committed something very similar to the
R-devel version of R earlier today.
On Mon, 28 Jul 2008, Nutter, Benjamin wrote:
Try sourcing in the 'new.legend' function below. It's the legend
function
Try sourcing in the 'new.legend' function below. It's the legend
function with a new argument called 'box.col'. The argument will change
the color of the box surrounding the legend. If I understand what it is
you are looking for, this should work. Also, I didn't see a way to
change the axis bar
On Sun, 27 Jul 2008, S Ellison wrote:
Looking at the legend() source the filled box line colour is hardcoded :
if (mfill) {
if (plot) {
fill <- rep(fill, length.out = n.leg)
rect2(left = xt, top = yt + ybox/2, dx = xbox, dy = ybox,
col = fill, densi
On Sun, 27 Jul 2008, S Ellison wrote:
Looking at the legend() source the filled box line colour is hardcoded :
if (mfill) {
if (plot) {
fill <- rep(fill, length.out = n.leg)
rect2(left = xt, top = yt + ybox/2, dx = xbox, dy = ybox,
col = fill, densi
On Fri, 25 Jul 2008, Nutter, Benjamin wrote:
data <- data.frame(Year=c(2000,2001,2002),
After the great help here I have a final problem (bug in R??)
with the background color. I would like to put my final drawing
on a dark background and thus I would like to use brigt colors
for axes etc. T
6 matches
Mail list logo