r - plotmath 中的 μ 符号排版不良
问题描述
在基础 R 中使用默认字体 ( sans
) 时,像 μ 这样的符号排版效果不佳:
plot(1, xlab = bquote("I want sans font here, but serif font for:" ~ (mu * g)))
g看起来比μ符号大。
将字体系列设置为serif
稍微改善了这一点:
par(family = "serif)
plot(1, xlab = bquote("I want sans font here, but serif font for:" ~ (mu * g)))
仍然不完美,但更接近。
- 如果我希望文本为
sans
,是否可以更改符号的字体系列中间句? - 如果没有,有没有更好的方法来排版 μg in
plot
?
解决方案
推荐阅读
- vue.js - 为什么当我更改从list1克隆的另一个list2中的数据时,list1中的数据会自动更改?使用 Vue.Draggable
- alfresco - 如何限制为空垃圾桶
- javascript - 大 O 表示法仅取决于矩阵大小或数据类型(整数,布尔值)?
- c# - 如何转换列表
字典选择查询? - angular - Firebase 登录成功回调未调用
- jquery - 如何在通过 jQuery.get() 加载时修复 Form-Closing-Tag 的自动更改的 DOM-Position
- java - DispatcherServlet 没有启动
- google-apps-script - 如何添加用户可以粘贴可点击 URL 的文本区域小部件?
- php - php pdf拆分为页面
- javascript - 为什么这个长度函数未定义?