【发布时间】:2022-11-18 01:38:26
【问题描述】:
我有这个用 lattice 包制作的 bwplot。唯一的问题是我想放大 y 轴上“早上”和“中午”文本的大小(这是脚本中称为 Period 的 2 级因子)。知道怎么做吗?到目前为止我的情节和剧本:
my_settings<- list(par.main.text = list(cex = 2, just = "left", x = grid::unit(5, "mm")), box.rectangle=list(lwd=2)) # change title position and size
#the plot
bwplot(dfmh2$Period~dfmh2$count^0.5|dfmh2$microhabitat, #count - morning/midday: midday more
par.settings = my_settings,
par.strip.text = list(cex =1.7),
ylab= list(label = "Period of Day", fontsize = 20), xlab= list(label = "Count (n)",
fontsize = 20),
main="A) Count")
【问题讨论】:
标签: r lattice text-size bwplot