[R] Can I increase the size of an asterisk in plotmath()?

Göran Broström goran.brostrom at umu.se
Thu Jun 30 09:38:14 CEST 2016


Rolf,

text(7.5,2.5,expression(paste(bolditalic(p),"*", sep = "")))

looks quite nice. On my Mac at least.

Göran

On 30/06/16 02:38, Rolf Turner wrote:
>
> I am trying to plot an expression of the form "p^*" --- a bold letter p
> with the asterisk as a superscript.
>
> I can get *something* with code of the form
>
> plot(1:10)
> text(7.5,2.5,expression(paste(bolditalic(p)^"*")))
>
> but the asterisk that appears is *tiny*.
>
> Is there any way to increase its size?  (I expect not, but I just
> thought I'd ask!)
>
> cheers,
>
> Rolf Turner
>



More information about the R-help mailing list