From gray@jimmy.harvard.edu  Sat Apr 20 21:21:46 2002
From: gray@jimmy.harvard.edu (gray@jimmy.harvard.edu)
Date: Sat, 20 Apr 2002 22:21:46 +0200 (MET DST)
Subject: [Rd] color of axis lines (PR#1470)
Message-ID: <200204202021.WAA19319@pubhealth.ku.dk>

Full_Name: Robert Gray
Version: 1.4.1
OS: Windows NT 4.0
Submission from: (NULL) (155.52.45.116)


I can't seem to get axis tick marks in any color except black (I want to make
plots for a slide presentation using a dark background.)  Below is a simple
example.  I have tried this using postscript in the Windows version of R 1.4.1
and a version of R 1.4.0 compiled on a Sun-Solaris system.  Also, the same
problem occurs in the win.metafile driver.

u1 <- runif(10)
u2 <- runif(10)
postscript(file='f:/ecog/statpres/webreg/plot3.ps',pointsize=18)
par(font=2,font.axis=2,font.lab=2,lwd=2.5,bg='midnightblue',col='white',
    col.axis='white',col.main='white',col.lab='white',col.sub='white')
palette(c('white','red','yellow','green','cyan','orange'))
plot(u1,u2,type='n',xlab="Time",ylab='Proportion',main='',
     col='white',col.axis='white') 
points(u1,u2,col=3)
dev.off()


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] color of axis lines (PR#1470)
gray@jimmy.harvard.edu