Skip to content
Back to formatted view

Raw Message

Message-ID: <5023A586.8000107@gmail.com>
Date: 2012-08-09T11:56:54Z
From: Duncan Murdoch
Subject: Add interpunct (dot) symbol to axis label?
In-Reply-To: <CABm9cVHHrGJ+BG+TtP7O89kzbZOUgiw0ANekitMV+X2MczgOPQ@mail.gmail.com>

On 12-08-08 9:21 PM, Hillary Ward wrote:
> I'm having problems creating an axis label for a plot.
>
> y_label = expression(paste(plain('CPUE
> '),plain('(fish'),plain('x'),plain('h'^{-1}),plain(')')))
>
> I'd like to replace the "x" with an interpunct symbol (dot). Any
> suggestions how to do this?

The interpunct symbol is \u00b7 in Unicode.  You could try that, i.e.

y_label = expression(paste(plain('CPUE
'),plain('(fish'),plain('\u00b7'),plain('h'^{-1}),plain(')')))

It might not work if your graphics device doesn't support Unicode.

Duncan Murdoch