Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使平方根符号出现在 R 中的轴标签上?
使用expression(sqrt(x)),请参阅帮助文件(?plotmath按照 mnel 的评论中提到的操作)以获取 R 图中的数学注释。
expression(sqrt(x))
?plotmath
plot(1:10, main='Example', ylab=expression(sqrt(x)))
产生