如何用正常,斜体和粗体字体构造轴标签 [英] How to construct an axis label with both normal, italic and bold font

查看:150
本文介绍了如何用正常,斜体和粗体字体构造轴标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想构建下面的x轴标签



bla bla bli bli bla blom bla



(正常的正常斜体斜体正常粗体斜体)

是否有可能?



非常感谢

编辑:也可以更改字体吗?

阅读?plotmath 页面以获取更多选项。


I would like to construct the following x axis label

bla bla bli bli bla blom bla

(normal normal italic italic normal bold italic)

Is it possible?

Thanks a lot

EDIT: Is it also possible to change the font?

解决方案

   plot(1,1, xlab= expression(bla~bla~italic(bli~bli)~bla~bold(blom)~italic(bla)))

Read the ?plotmath page for further options.

这篇关于如何用正常,斜体和粗体字体构造轴标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆