我正在尝试加粗或可能增加我的sprintf的字体大小。我尝试了下面的代码,但它不能工作。在下面的代码中,"
aes(color = Disability,
shape = Disability,
group = Disability,
text = sprintf("<strong> Year: %g </strong> <br>Age at Death: %g",
Year, AgeatDeath))+ 发布于 2020-12-20 03:07:07
下面是加粗文本的代码:
aes(color = Disability,
shape = Disability,
group = Disability,
text = sprintf("<b> Year: %g </b> <br>Age at Death: %g",
Year, AgeatDeath))+ 发布于 2020-12-20 03:27:38
下面是更改颜色的方法:
aes(color = Disability,
shape = Disability,
group = Disability,
text = sprintf("<b style='color: mediumblue'> Year: %g <br>Age at Death: %g </b>",
Year, AgeatDeath))+https://stackoverflow.com/questions/65342140
复制相似问题