r - 如何减少 ggplot2 bquote 标签标题中 unicode 字符之间的空格?
问题描述
我正在尝试并未能在 ggplot2 标签 bquote 中获得正确的间距。具体来说,在 unicode 字符 \U00B7 和引号的其余部分之间。如何减少它以使 unicode 字符与其余字母相邻?
请参阅下面的reprex,标签没有意义,但说明了这一点。
library(tidyverse)
ggplot(data = iris) +
geom_point(aes(x = Sepal.Length, y = Sepal.Width)) +
ylab(bquote('Sepal.Width '~'(mg'~'\U00B7 N'[2]*~"\U00B7"~h^-1*~"\U00B7"~g^-1*')'))
由reprex 包于 2021-06-23 创建(v0.3.0)
解决方案
推荐阅读
- sql - 获取sql日期之间
- c# - Mongo Atlas - 连接限制低?
- linux - gitlab dosent 恢复备份
- amazon-dynamodb - 如何使用 Amazon DynamoDB 对 1 对 N 关系进行建模以满足单次读取和写入?
- angular - 如何使用键值对象的键作为角度模板中其他对象的属性名称
- python - 从两个不同大小的列创建两列
- python-2.7 - 使用文本文件中的一对数字创建 python 列表-> 已解决
- delphi - 找不到从 Delphi2007 升级到 DelphiXE7 所需的包 'bdertl'/'vcljpg'
- python - 如何在 windows docker 容器中安装 python 和 ansible
- python - 将 plot.ly JSON 保存到文件