Thanks to Peter Langfelder and David Winsemius for their replies.
It must be Apple specific. I transferred the R script with the
svg files between my Mac and a Windows 7 machine. The svg files created
on the Windows machine displayed properly on both machines. The svg
files crea
On 6/19/19 8:19 AM, Spencer Graves wrote:
Hello, All:
I'm unable to control the font size in plots to svg. Consider
the following:
svg('cex-svg.svg')
cex. <- 5
plot(1:2, cex.axis=cex.)
text(1:2, 1:2, c('as', 'DF'),
cex=cex.)
dev.off()
When I open this in Gimp 2.10.
Unless this is something Apple-specific, the problem seems to be with
Gimp, not with R. On my system (linux), opening your examples with
either firefox or inkscape shows huge letters. At least firefox should
be able to open the svg on a Mac as well. BTW, Gimp on linux does not
open your cex-svg.svg
Hello, All:
I'm unable to control the font size in plots to svg. Consider
the following:
svg('cex-svg.svg')
cex. <- 5
plot(1:2, cex.axis=cex.)
text(1:2, 1:2, c('as', 'DF'),
cex=cex.)
dev.off()
When I open this in Gimp 2.10.4, the font size is tiny. I also
tried: