To work around the problem that the Word PDF export imposes a minimum line width on embedded SVG graphics, I need to create scaled versions of my R plots. For example, instead of
svg(file="plotA.svg", width=5.9, height=3)
I'd want to create an SVG with 10 times the size:
svg(file="plotAx10.svg", width=59, height=30)
At the same time, I don't want anything in the plot to change relative to each other. So plotAx10.svg
scaled to 10% should be exactly the same as plotA.svg
.
I can achieve most of what I want with the cex
and lwd
graphics parameters, e.g. with par(cex=0.8*10, lwd=10)
. However there are some functions, which don't seem to take them into account. Is this the right approach? Or did I miss some other global scale parameter? If not, which functions need to be configured separately?