Here's a pure grid example that illustrates the second point, library(grid) ggplot2, and how its theme settings affect the font size.grid graphics parameters and how they're interpreted by the device.SVG units – Note the discussion about user units, and pt vs px.Where in the whole process were my settings changed, and how can I handle it? I guess R is doing write, when i say save 20x35 cm R will do it. It is even not 20 x 35 cm, I found that i loose about 5 cm or more during the saving and export process. So far so good, yet, it appears, that the text is by no means 18 pt, later in the powerpoint-poster, after exporting the graph (without editing!) as. svg since I made best experience with the quality of the graph, furthermore I can edit anything at anytime in Inkscape, that's great! I set the font size with "theme(text=element_text(family="Arial", size=18)" for the whole graph.ĭuring ggsave I adjust the height and width, for the Poster the height should be 20 cm and width 35 cm. How I save the graph: ggsave(p1, file="Results/Figures/Abb2_Boxplots_LarvenPuppen2.svg", width=35, height=20, units = "cm", dpi=500) Strip.text=element_text(face="bold", colour="white"), Strip.background=element_rect(colour="dark grey", fill="black"), Panel.background=element_rect(colour="black",fill="white", size=1), Theme(text=element_text(family="Arial", size=18),Ī = element_text(angle = 30, hjust = 1), Geom_boxplot(outlier.shape = 1, outlier.size = 2, linetype="solid", size = 1) + Stat_boxplot(geom ='errorbar', width= 0.5) + My Graphics Code: p1 <- ggplot(aes(y = Var1, x = Treat, na.rm=TRUE, fill=Location), data = df1) + Location = c("Berlin", "Munich", "Kansas", "Paris"),
#Inkscape font size bigger than 144 pdf
As Long as I'm not aware of using R-Markdown and Latex, Or Sweave to produce pdf slides, i need to use Microsoft applications. I need to export graphics from R for the use in different publications formats, i.e., scientific poster, Journal Articel, Powerpoint presentation.