[R] postscript colors

Denis White denis at mail.cor.epa.gov
Tue Nov 23 23:41:34 CET 1999


Is color specification like this available in R for setting
postscript colors?

> hue <- c(0, seq(from = 0, by = 1/(nclass), length = nclass))
> sat <- c(0, rep(1.0, nclass))
> bri <- c(0, rep(1.0, nclass))
> zcolors <- cbind(hue, sat, bri)
> ps.options (setcolor=ps.setcolor.hsb,colors=zcolors)

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list