我在R中做了一个栅格图,我需要所有的文字和图形上的数字都有相同的字体和字体大小。字体应该是Times New Roman (serif系列),字体大小应该是12。我使用的代码是:cuts <- c(1300,1325,1350,1375,1400,1425,1450,1475,1500,1525,1550,1575,1600Longitude",ylab = "Latitude",fam
当使用黑色背景的ggplot2主题时,是否可以控制颜色参考线以外的参考线的图例颜色,以便不以黑色绘制?如果是这样的话,是怎么做的?library(ggplot2) # needs to be 0.9.3 for this theme
theme_black<- function (base_size = 16, base_family = ""
是否可以在下面的ggpboxplot中更改p值的字体系列?字体系列应为"Times New Roman“。使用theme_bw(base_family = "Times New Roman")不会更改p值。library(ggpubr) data("ToothGrowth")
p <- ggboxplot(ToothGrowth, x = "suppfacet.by = "dose", shor