Partial italics, axis.text.x

Viewed 6081

Aloha,

For the following bar graph:

x <- ggplot(foo, aes(x=variety, y=percent)) + geom_bar()

The following italicizes all of my x-axis text:

x + opts(axis.text.x=theme_text(face='italic'))

However, I would like to italicize only the species names, not the control.

levels(foo$variety)
"control"    "species1" "species2"     "species3" 

Any suggestions?

1 Answers
Related