Thank you, Paul. Postscript, however, does not have to be what I need for two reasons. First, it does not accept some special characters from foreign languages (exactly like PDF). Second, not too many journals accept it.
So from your -- and Daniel's -- reply I understand other formats will not work well? (Byt bad I understand the quality of the images, which is perfectly seen on fonts). Thanks, Wolf On Thu, May 14, 2009 at 7:15 AM, Paul Johnson <pauljoh...@gmail.com> wrote: > You don't say what is bad about the other formats, but I can imagine. > There is a png issue in Linux we were complalaining about a while ago. > > Journals will take postscript in my experience. Try these options > > postscript("file.eps", height=6, width=6, onefile=F, horizontal=F, > paper="special") > > The onefile is needed to get a bouning box. > > you might try adding the paper option to your pdf command because it > eliminates that huge margin on top of the output > > pj > > On Wed, May 13, 2009 at 11:47 PM, Stats Wolf <stats.w...@gmail.com> wrote: >> Dear colleagues, >> >> Saving a plot with pdf gives a very nice result: >> >> pdf("myplot.pdf") >> par(font=1,family='serif') >> plot(pressure) >> dev.off() >> >> Doing the very same with other formats (png, jpeg, tiff) gives far >> worse results. Is there anything to do to make a plot in some other >> format than pdf look like the pdf? Hardly any journal accepts pdf >> files for figures, and most do accept png and jpeg -- so no matter >> what I think about this, I must follow this rule. What can I do, then? >> >> I am using R 2.9.0 for Windows XP. >> >> Many thanks in advance, >> Wolf >> >> ______________________________________________ >> 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. >> > > > > -- > Paul E. Johnson > Professor, Political Science > 1541 Lilac Lane, Room 504 > University of Kansas > -- Stats Wolf ______________________________________________ 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.