How can I add an en dash to a plot in R?
Posted
by Banjer
on Stack Overflow
See other posts from Stack Overflow
or by Banjer
Published on 2010-03-19T16:51:25Z
Indexed on
2010/03/19
17:11 UTC
Read the original article
Hit count: 210
I'm creating a plot in R, and need to add an en dash to some axis labels, as opposed to your everyday hyphen.
axis(1, at=c(0:2), labels=c("0-10","11-30","31-70"))
I'm running R version 2.8.1 on Linux.
© Stack Overflow or respective owner