If ggplot2 loads, this should give you valid properties (if they differ from the defaults):
theme(text = element_text())$text[ c("family", "size") ]
? annotate , ... " , ". , , annotate theme() , . , , : "... . , , , ".
: annotate: " , () =" ", ". , , . , , , :
ggplot(data1.df, aes(x = Axis1, y = Axis2, shape = Plant, color = Type)) +
geom_point(size = 5) +
annotate("text", x=0.4, y=0.0, label="Label",
family= theme_get()$text[["family"]],
size= theme_get()$text[["size"]]/2.5,
fontface="italic") +
theme(legend.position="none")
, "", 2.5 , : rel , theme(axis.title.x = element_text(size = rel(2.5))).