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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to