I have generated some tiff files containing R plots using the following general approach:
df2 <- data.frame('x_axis' = seq(-10000,10000),
'y_axis' = seq(1,20001))
tiff(file = 'test_size_090523_1.tiff',
units = 'in',
width = 6,
height = 6,
res = 300)
plot(x = df2$x_axis,
y = df2$y_axis,
type = 'l')
dev.off()
This figure should come out as a square, 6 inches on each side. If I "place" (Adobe's term) one of these plots onto an "artboard" of a defined size in Adobe Illustrator, sometimes the plot is exactly as it should be, i.e. a square, 6 inches on each side; other times, it's much bigger. The code above should work as a reproducible example in which it the output file is much too big. Specifically, in this case (as in the other cases when I have checked), Adobe Illustrator says that the plot is 25 inches on each side.
I would very much appreciate any suggestions for what is going on or how to fix this.
Thank you.
Eric