[英]Displaying *(star) superscript in R - expression( )
is there any way to display superscript of *(star), with the expression() function? 有没有办法显示*(star)的上标,表达式()函数? I am trying to display this in a graph produced in ggplot2.
我试图在ggplot2中生成的图表中显示它。 I have tried
我努力了
expression(a^{*})
but does not work. 但不起作用。 Thank you.
谢谢。
plot(rnorm(30), xlab = expression(paste("a"^"*")))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.