gray@jimmy.harvard.edu writes:
> 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()
You're looking for the fg parameter.
(It does say so in help(par), I don't think there's a bug.)
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._