search for: volcano2

Displaying 2 results from an estimated 2 matches for "volcano2".

Did you mean: volcano
2003 Aug 01
1
shading in image()
...no) par(mfrow=c(1,2)) x <- 10*(1:nrow(volcano)) y <- 10*(1:ncol(volcano)) volcano[seq(1,87,by=10),seq(1,61,by=10)]<-NA; image(x, y, volcano, col = terrain.colors(100)) ## This is what I've tried with interp.surface() library(fields) newx<-seq(10,870,by=2); newy<-seq(10,610,by=2); volcano2<-interp.surface(list(x=x,y=y,z=volcano),make.surface.grid(list(newx ,newy))); dim(volcano2)<-c(length(newx),length(newy)); image(newx,newy,volcano2, col = terrain.colors(100)) As you see NANs are lareger in the interpolated image, I've modified the interp.surface function to take the nea...
2010 Apr 13
2
Help required with png graphic production as text has shadows?
...to upgrade as this may cause issues with my completed analyses and the potential changes to other functions. Can someone suggest what it is I have missed? Thank you very much. Alice Johnstone Example code: Png("volcano.png",units="cm",height=15,width=15,res=1200,pointsize=12) Volcano2(fit2.eb,coef=2,highlight=5,xlab="log fold change",ylab="log odds",pch=16,cex=0.5, main="Volcano Plot",xlim=c(-2,2)) Dev.off() > sessionInfo() R version 2.8.0 (2008-10-20) i386-pc-mingw32 locale: LC_COLLATE=English_New Zealand.1252;LC_CTYPE=English_New Zealand.125...