search for: output_file_path

Displaying 1 result from an estimated 1 matches for "output_file_path".

2006 May 29
3
mtext in trellis-loop & colorkey
...s of the function from the colors (e.g. the first plot should be mainly gray (as it is the "lowest"), the last one mainly white (as it is the "highest")). Thanks very much! marius Here is a complete minimal example: remove(list=objects()) library(lattice) for(i in 1:4){ output_file_path<-paste("~/Desktop/test_",i,".png",sep="") x<-rep(seq(-3,3,length=50),50) y<-rep(seq(-3,3,length=50),each=50) z<-x*y+10*i trellis.device(png,color=F,file=output_file_path) print(wireframe (z~x*y,drape=T,distance=0,zoom=0.84,cuts=100,col.regions=gray (...