如何使用 annotate_figure 添加装饰分隔符

问题描述

嗨,我正在尝试为我的绘图获得一个不错的 pdf 格式。 这是我的代码

annotate_figure(figure,top = text_grob("Main title",color = "green",face = "bold",size = 14),bottom = text_grob("Data source: \n Our World In Data",color = "black",hjust = 0,x = 0,face = "italic",size = ),fig.lab = "text",fig.lab.face = "bold")

这是我的输出

enter image description here

但我想添加分隔符并添加一些文本。就像这样:

enter image description here

有没有办法使用 annotate_figure 函数来做到这一点?还是我应该使用特殊的包装? 提前致谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)