【问题标题】:Bolding Greek letters in RR中的粗体希腊字母
【发布时间】:2011-08-28 04:17:42
【问题描述】:

我想在我的图形边缘添加一个希腊字母,我使用了下面的代码行:

mtext(side=2,line=6,text=expression(paste(beta,"-Actin Normalized")),font=2,cex=2)

但是,当我将 mtext 函数与希腊字母结合使用时,它不再加粗文本行。有没有什么好的方法可以添加带有希腊字母的边距文本并保留粗体?

谢谢。

【问题讨论】:

    标签: r graphics plotmath


    【解决方案1】:

    您可以使用bold plotmath 函数:

    expression(bold(paste(beta,"-Actin Normalized")))
    

    在你要求加粗(测试版)之前,你应该阅读这个 information from Prof Ripley on Rhelp

    【讨论】:

      猜你喜欢
      • 2014-11-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-08-12
      • 2020-06-14
      • 1970-01-01
      • 2017-11-10
      • 1970-01-01
      相关资源
      最近更新 更多