[R] Postscript resolution

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Mon Dec 10 01:31:19 CET 2001


"Michael J. Manning" <mj.manning at niwa.cri.nz> writes:

> Hi all
> 
> I have some plots that I wish to write out to postcript files.  I open 
> the postscript device as suggested [postscript(file="foo.eps",...)], run 
> my plotting commands, and close the device as suggested [dev.off()].  
> However, when I open the eps files in a postscript viewer such as the 
> gimp, the resolution of the postscript images is *really* bad, very 
> "blocky" and "chunky", without the crisp lines and text that I 
> expected.  I seem to remember that specifying the resolution of the 
> image to be written to the eps file somewhere gets around this.  
> 
> Suggestions?
> 
> Am running R 1.3.0 on a Mandrake 8.0 system.

Try another viewer, e.g. gv. I don't think R is involved in this.
Postscript and EPS should be smoothly scalable, but the viewer might
create blockiness. My version of the gimp sets 100dpi when loading
postscript files, e.g.

-- 
   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
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list