Displaying 1 result from an estimated 1 matches for "dichromatit".
2009 Sep 28
2
dichromat, regexp, and grid objects
...efault.units = "npc", name = NULL,
gp = gpar(fill = colors, col = colors, draw =
draw, vp = NULL))
my.grob
}
colorStrip(1:3)
colorStrip(dichromat(1:3))
Now what would be nice is a function that can edit the colours (col
and fill parameters) of an existing grob.
dichromatit <- function(x){
.NotYetImplemented()
}
dichromatit(colorStrip())
It could allow high-level testing for visual perception of lattice and
ggplot2 plots,
p1 = xyplot(1~1)
p2 = qplot(1,1, colour= I("red"))
dichromatit(p1)
p2 + dichromatit()
One approach could be to use only integer...