Dear all, A journal in which we wanted our manuscript published requires the figures as a tiff, eps or PowerPoint formated. I tried converting .jpeg files to these formats but it looses its quality both on the screen and on paper. Could some one please help. Thanks in advance, ____________________ Sivakumar Mohandass, Department of Entomology, Kansas State University [[alternative HTML version deleted]]
Presumably you have the data and R scripts that generated the jpegs. Just substitute the calls to jpeg() (or bitmap()) to postscript(..., onefile=FALSE) and you shall have the highest quality EPS. HTH, Andy> From: Sivakumar Mohandass > > Dear all, > > A journal in which we wanted our manuscript published requires the > figures as a tiff, eps or PowerPoint formated. I tried > converting .jpeg > files to these formats but it looses its quality both on the > screen and > on paper. Could some one please help. > > Thanks in advance, > ____________________ > Sivakumar Mohandass, > Department of Entomology, > Kansas State University > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > >------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments,...{{dropped}}
On Wed, 3 Mar 2004 14:35:06 -0600 "Sivakumar Mohandass" <srivas at k-state.edu> wrote:> Dear all, > > A journal in which we wanted our manuscript published requires the > figures as a tiff, eps or PowerPoint formated. I tried converting .jpeg > files to these formats but it looses its quality both on the screen and > on paper. Could some one please help. > > Thanks in advance, > ____________________ > Sivakumar Mohandass, > Department of Entomology, > Kansas State UniversityWhy would you need to convert from jpeg? Start out with eps. Frank
Sivakumar Mohandass wrote:> > Dear all, > > A journal in which we wanted our manuscript published requires the > figures as a tiff, eps or PowerPoint formated. I tried converting .jpeg > files to these formats but it looses its quality both on the screen and > on paper. Could some one please help.So you might want to use the postscript() device to produce eps. See ?Devices and ?postscript for more details Uwe Ligges> Thanks in advance, > ____________________ > Sivakumar Mohandass, > Department of Entomology, > Kansas State University > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
On Wed, 2004-03-03 at 14:35, Sivakumar Mohandass wrote:> Dear all, > > A journal in which we wanted our manuscript published requires the > figures as a tiff, eps or PowerPoint formated. I tried converting .jpeg > files to these formats but it looses its quality both on the screen and > on paper. Could some one please help.Your best option is to generate an EPS file using the postscript() function. See ?postscript for more information and take careful note of the function arguments required to create an EPS file. Principally: The postscript produced by R is EPS (_Encapsulated PostScript_) compatible, and can be included into other documents, e.g., into LaTeX, using '\includegraphics{<filename>}'. For use in this way you will probably want to set 'horizontal = FALSE, onefile FALSE, paper = "special"'. You will need to specify the 'height' and 'width' arguments to define your page size. HTH, Marc Schwartz
See ?postscript. Sean On 3/3/04 3:35 PM, "Sivakumar Mohandass" <srivas at k-state.edu> wrote:> Dear all, > > A journal in which we wanted our manuscript published requires the > figures as a tiff, eps or PowerPoint formated. I tried converting .jpeg > files to these formats but it looses its quality both on the screen and > on paper. Could some one please help. > > Thanks in advance, > ____________________ > Sivakumar Mohandass, > Department of Entomology, > Kansas State University > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >
The R postscript() driver will produce eps files. See ?postscript. If the journal requires that eps files include a preview image (something that will display the image on the computer screen) then that can be added after the fact with, for example, Adobe Illustrator. R's driver does not produce them. -Don At 2:35 PM -0600 3/3/04, Sivakumar Mohandass wrote:>Dear all, > >A journal in which we wanted our manuscript published requires the >figures as a tiff, eps or PowerPoint formated. I tried converting .jpeg >files to these formats but it looses its quality both on the screen and >on paper. Could some one please help. > >Thanks in advance, >____________________ >Sivakumar Mohandass, >Department of Entomology, >Kansas State University > > > > [[alternative HTML version deleted]] > >______________________________________________ >R-help at stat.math.ethz.ch mailing list >https://www.stat.math.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html-- -------------------------------------- Don MacQueen Environmental Protection Department Lawrence Livermore National Laboratory Livermore, CA, USA
"Sivakumar Mohandass" <srivas at k-state.edu> writes:> Dear all, > > A journal in which we wanted our manuscript published requires the > figures as a tiff, eps or PowerPoint formated. I tried converting .jpeg > files to these formats but it looses its quality both on the screen and > on paper. Could some one please help.The postscript() device will do EPS, as will dev.copy2eps(). In fact, almost all graphics in Introductory Statistics with R were done with X11(height=3.5,width=4.4,pointsize=8) par(mar=c(4,4,3,2)+.1) and then (e.g.) plot(height,weight) dev.copy2eps(file="h-w.ps") (plus a epstopdf step, but you wouldn't need that) -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
On Wed, 3 Mar 2004, Sivakumar Mohandass wrote:> A journal in which we wanted our manuscript published requires the > figures as a tiff, eps or PowerPoint formated. I tried converting .jpeg > files to these formats but it looses its quality both on the screen and > on paper. Could some one please help. >help(postscript)
Hi Sivakumar, Also, just of potential note: in case you are working with Windows and generate postscript files, you will not see the EPS image on-screen when it is inserted for instance in a Word document. Rest assured that if you print the document, it will show up. All journal editors can see such EPS files on screen since they will use true publishing software like Adobe's. Hope that helps. Bill> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Marc Schwartz > Sent: Wednesday, March 03, 2004 4:02 PM > To: Sivakumar Mohandass > Cc: R-Help > Subject: Re: [R] Publication quality graphs > > > On Wed, 2004-03-03 at 14:35, Sivakumar Mohandass wrote: > > Dear all, > > > > A journal in which we wanted our manuscript published requires the > > figures as a tiff, eps or PowerPoint formated. I tried > converting .jpeg > > files to these formats but it looses its quality both on > the screen and > > on paper. Could some one please help. > > > Your best option is to generate an EPS file using the postscript() > function. > > See ?postscript for more information and take careful note of the > function arguments required to create an EPS file. Principally: > > The postscript produced by R is EPS (_Encapsulated PostScript_) > compatible, and can be included into other documents, e.g., into > LaTeX, using '\includegraphics{<filename>}'. For use in this way > you will probably want to set 'horizontal = FALSE, onefile > FALSE, paper = "special"'. > > You will need to specify the 'height' and 'width' arguments to define > your page size. > > HTH, > > Marc Schwartz > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > >------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments,...{{dropped}}