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

Sarah Goslee sarah.goslee at gmail.com
Thu Jun 30 15:28:16 CEST 2016


I don't know of an automatic way, but of course you can make it as
large as you'd like.


plot(1:10, type="n")
text(2, 8, expression(paste(bolditalic(p)^"*"))) #Rolf's original
text(2, 6,expression(paste(bolditalic(p),"*", sep = ""))) #Goran's suggestion


text(2, 3, expression(paste(bolditalic(p)^"*"))) # repeat Rolf's original
text(locator(1), "*", cex=3) # click on the asterisk: how big do you want it?

Sarah

On Thu, Jun 30, 2016 at 4:46 AM, Rolf Turner <r.turner at auckland.ac.nz> wrote:
> On 30/06/16 19:38, Göran Broström wrote:
>>
>> Rolf,
>>
>> text(7.5,2.5,expression(paste(bolditalic(p),"*", sep = "")))
>>
>> looks quite nice. On my Mac at least.
>
>
> <SNIP>
>
> Well, it didn't look nice on my laptop.  The asterisk was nearly invisible.
>
> cheers,
>
> Rolf
>



More information about the R-help mailing list