Displaying 1 result from an estimated 1 matches for "bncw".
Did you mean:
bnc
2008 Jun 13
1
overlaid transparent histograms
...transparency shows up correctly. You might need to print to
a pdf device to get transparency, according to the docs I've read)
--8<---------------cut here---------------start------------->8---
## Working version:
data(lexdec, package="languageR")
attach(lexdec)
x <- log(c(BNCw, Frequency))
label <- c(rep("BNCw", length(BNCw)),
rep("CELEX", length(Frequency)))
h <- data.frame(x, label)
g <- ggplot(h, aes(x=x, fill=label))
g +
geom_bar(position="identity") +
scale_fill_manual(values = c(
alpha(&...