[R] graph resolution windows (dpi) using x11 device

Uwe Ligges ligges at statistik.tu-dortmund.de
Fri May 8 13:20:38 CEST 2009



Marta M. Rufino wrote:
> Dear list members,
> 
> After looking in the www, I found this subject has been in discussion 
> previously on the mailing list, although I could not solve it. I also 
> found two wikis, but similarly, could not reach a conclusion.
> 
> I need to re-produce my figures with 1200 dpi, in tiff format, 

At least I cannot even set this resolution in the original tiff device.
Hence I'd suggest to produce some vector format such as postscript or 
pdf and convert with some third party software to the desired tiff 
specification afterwards.

Uwe Ligges


> for a journal (off course :-s).
> I am working on windows xp professional, R version 2.7.1, using x11 to 
> open device and do the graphs. Than, I generally use both print.plot or 
> savePlot, but nether permitted me to change the resolution...
> 
> When I do it through tiff() function, the graph produced is very 
> different from the one plotted on the current device (similar to pdf, 
> eps, etc.). The graphs are a bit complex, have many variables, parts and 
> bits, legends, etc. so it would be important to save as it is observed 
> in the current windows device...
> 
> So, I have two questions:
> 
> 1. Is there any way to save the graph done in the open x11 device with 
> greater resolution than 72dpi?
> 
> 2. Is there any way to change this default under windows, so that from 
> now on every time I do a figure, it will be with greater resolution (I 
> image it should be possible through windows.options... but no ideia how)?
> 
> 
> Any help, will be greatly appreciated,
> Thanks in advance,
> 
> Best wishes,
> Marta
> 
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list