Displaying 3 results from an estimated 3 matches for "0,20,40".
2004 Oct 15
4
pdf device --- axes labels text disappeared?
Dear R Wizards: Running R 1.9.1. on amd64.
Promise<- c(0,20,40); Expect<- c(0, 20, 0.2*20+.8*40 );
# this omits printing numbers on the axes labels.
pdf(file = "bug.pdf" );
plot(Promise, Expect, type="b", ylim=c(0,60));
dev.off();
# this works
postscript(file = "bug.eps" );
plot(Promise, Expect, type="b", ylim...
2010 Apr 27
1
ggplot2 - help with intervals in geom plot
Hi;
I have created a geom_tile plot which does roughly what I want but I
have a small tweak I cannot sort out.
I have a dataframe binL, binR, HCount, HProbCount where HCount and
HProbCount have values ranging from 1-150. I plot binL and binR on the
axes respectively and create two charts with the fill being represented
by HCount and HProbCount respectively.
The problem is that I want HCount and HProbCount to use custom
gradients. i.e. a colour for 0-10, next shade for 10-30, next for 30-70
etc.
Due to some...
2012 Jul 21
2
two questions re: the use of lattice
...lattice. First some code:
## begin code
z <- cbind(rep(c("BIC", "ICL", "s_v", "Q_v", "sig-q",
"s_lsk", "s_lML", "s_mlsk", "s_mlML", "s_la8",
"s_haar"), each = 250), rep(c(5, 10, 20, 30, 50), each = 50))
z <- rbind(cbind(z, 0), cbind(z, 20), cbind(z, 40))
z <- cbind(z, rnorm(n = nrow(z)))
z <- as.data.frame(z)
names(z) <- c("Method", "sigma", "INU", "Error")
sigma <- as.numeric(levels(z$sigma))
sigmaExprL...