Hi, I am trying to produce high-resolution (600dpi+) TIFF figures for use in a publication. Everything seems to work well when using the "normal" R-graphics and the relative text size obtained is independent of the output resolution. However, when I try and make lattice plots, the relative size of the text labels changes when I adjust the resolution - they become extremely small at high resolution. Some sample code is attached below - as you will see, the text in the low resolution plot is as expected, whilst that in the high-resolution is there, but very very small. I'm running R 2.9.1 on Windows - R.Version() info is contained at the very bottom.
Any ideas? Cheers, Mark Sample code ----------- Depth <- equal.count(quakes$depth, number=8, overlap=.1) p<- xyplot(lat ~ long | Depth, data = quakes) tiff("Low res plot.tiff",width=155/25.4,height=155/25.4,units="in",res=72,pointsize=12,compression="none") print(p) dev.off() tiff("High res plot.tiff",width=155/25.4,height=155/25.4,units="in",res=600,pointsize=12,compression="none") print(p) dev.off() R.version() info ---------------- > > R.Version() $platform [1] "i386-pc-mingw32" $arch [1] "i386" $os [1] "mingw32" $system [1] "i386, mingw32" $status [1] "" $major [1] "2" $minor [1] "9.1" $year [1] "2009" $month [1] "06" $day [1] "26" $`svn rev` [1] "48839" $language [1] "R" $version.string [1] "R version 2.9.1 (2009-06-26)" > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.