Hi Henning,
maybe you just lost the extension (.eps) of the file when "converting"
it with ghostview. But R postscript(..,onefile=FALSE) produces actually
an eps compatible file.
An (encapsulated) postscript file is a vector based file format, so
there isn't such a thing as a "resulution", since it can be arbitrarily
rescaled (and a printed version depends on the possible ps-printer dpi.)
When converting it (eg with ghostscript) to a bitmap based filetype,
such as tiff, you can specify a resulution.
Hth.
Henning Wildhagen schrieb:
Dear users,
another question concerning graphics for publications. My favourite journal
wants .eps-graphics,
and from older postings i adapted the following code:
postscript(file="Figure1.eps", title="Figure 1", width=11.5, height=8,
paper="a4",onefile=FALSE)
However, when checking the properties of this file, it is a .ps and not a
.eps file. So, i konverted to .eps with ghostview. Then, for windows it is
no longer a file of type "postscript", but just a file of type "file", what
makes me nervous. Any clue how to produce .eps-files in a more convenient
way?
In addition, the journal says that the files should be at 600 dpi
resolution. Since there is no resolution-argument to postscript(), how
can i check/ensure, that the resolution i high enough?
Thanks for your help,
Henning
------------------------------------------------------------------------
______________________________________________
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.
______________________________________________
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.