Increasing resolution in plots

10 views
Skip to first unread message

Christoph Ruehlemann

unread,
Mar 29, 2018, 7:51:41 AM3/29/18
to corplin...@googlegroups.com
Hi,

Apparently, resolution in plots is by default just 72 dpi. To increase res, I've used this:

tiff(file = "temp.tiff", width = 3200, height = 3200, units = "px", res = 800)

This does increase res, but just to 96 dpi. Is there a mistake in the code or a better way?

Stefan Th. Gries

unread,
Mar 29, 2018, 9:20:38 AM3/29/18
to CorpLing with R
Try

png(file = "temp.tpng", width = 9, height = 9, units = "in", res = 300)

Best,
STG
--
Stefan Th. Gries
----------------------------------
Univ. of California, Santa Barbara
http://tinyurl.com/stgries
----------------------------------
Reply all
Reply to author
Forward
0 new messages