[R] Additional polymath query
murdoch.duncan at gmail.com
Sat Jan 2 18:39:31 CET 2016
On 02/01/2016 11:52 AM, Fisher Dennis wrote:
> R 3.2
> OS X
> Yesterday, I asked:
> I have a polymath label for a graphic:
> I would like the “x” to be replaced with a bullet.
> David Winsemius provided an answer:
> (which is also known as “cdot”)
> That works but the dot is small — I would prefer something bolder.
> Further searching led to the following:
> plot(1, xlab="\u25CF")
> Now I can’t figure out how to incorporate
> into the original command (to replace the “x” below):
> As much as I enjoy plotmath, it remains a bit of a mystery to me. Any advice would be appreciated.
Just replace x with "\u25CF" (including the quotes). You do need to be
a little careful here: not all graphics devices support all Unicode
characters. That one works on my OSX system running in RStudio, but you
didn't say what particular output format you wanted, so you'll need to
check it yourself.
More information about the R-help