Skip to content
Prev 326409 / 398502 Next

Substituting Greek symbols in some tick labels

On Jul 4, 2013, at 8:14 PM, Eric Archer - NOAA Federal wrote:

            
Right. I would not throw away the "*" but rather change it to an inline Delta:

x.lab <- gsub("\\*", "*Delta*", x.lab)

# parse(text=x.lab)
# returns: expression(a*Delta*a, bbb, c*Delta*c, ddd)# 

Then parse it:

dotchart(x, labels = parse(text=x.lab) )
David Winsemius
Alameda, CA, USA