Skip to content

graphics

4 messages · Darja Poklukar, Hadley Wickham, Jim Lemon +1 more

#
On Sat, Oct 11, 2008 at 3:06 AM, Darja Poklukar <darja.poklukar at siol.net> wrote:
What did you try?  Have you tried reading the help for png or tiff?

Hadley
#
Darja Poklukar wrote:
Hi Darja,
The usual answer is to increase the size of the image. For example, if 
you are using the one of the bitmapped devices, the default resolution 
is 480x480 pixels. If you now have 118 pixels/cm (300 dpi) and you were 
using the default resolution, by specifying 800x800 pixels, you should 
get the desired output resolution when the image is scaled to your 
output size.

Jim
#
On Sun, 12 Oct 2008, Jim Lemon wrote:

            
That is a size, not a resolution.
That will result in very small text and hence small margins.

The documented approach is to set the res= argument, and use something 
like

png(width=10, height=10, units="cm", res=600)

(That's for current R, but the posting guide asks you to mention that, 
*and* to update before posting.)