Displaying 3 results from an estimated 3 matches for "darkcyan".
2012 May 10
2
setting global options for a package
...ure how to implement
this. If I use
a .onLoad function to set some options, will these be created in the
global environment?
If not, how to make them so?
.onLoad <- function() {
options(heplot.colors =
c("red", "blue", "black", "darkgreen", "darkcyan","magenta",
"brown","darkgray"))
}
My function could then use
foo <- function(x, getOption("heplot.colors"), ...) {}
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x6...
2009 Apr 06
0
mtext problem - grainy and massive file size
...y. If I plot the pairs plot
without any mtext() it's a nice crisp image and a small file size. Weird.
Here is my code
quartz(file="plot.pdf", type="pdf", height=12, width=12)
par(bg="white", oma=c(6,6,6,6))
pairs(W$x,pch=sourcs, col=c(rep(1, nrow(A)), rep("darkcyan", nrow(T)),
rep(4, nrow(K)), rep(2, nrow(H))), cex=1.5, cex.labels=4)
mtext("Catchment",side=3, outer=T, line=4,cex=2,at=0)
mtext("Arahura",side=3,outer=T,line=4.5,col=1,cex=1.75,at=.2)
mtext("Hokitkia",side=3,outer=T,line=4.5,col=2,cex=1.75,at=.35)
mtext("Ko...
2000 Feb 29
0
mapping of colornames into hsv: half way done
...uot;#8B8878",
"cyan", "#00FFFF",
"cyan1", "#00FFFF",
"cyan2", "#00EEEE",
"cyan3", "#00CDCD",
"cyan4", "#008B8B",
"darkblue", "#00008B",
"darkcyan", "#008B8B",
"darkgoldenrod", "#B8860B",
"darkgoldenrod1", "#FFB90F",
"darkgoldenrod2", "#EEAD0E",
"darkgoldenrod3", "#CD950C",
"darkgoldenrod4", "#8B6508",
&qu...