Reputation: 61
How to label words in italics for x axis?
Code:
nr$species <- factor(nr$species,
levels=c( "Gaur", "Sambar", "SpottedDeer", "IndianMuntjac", "WildBoar"))
Upvotes: 6
Views: 13423
Reputation: 10806
Change the looks of text in ggplot using theme:
+ theme(axis.text.x = element_text(face = "italic"))
Upvotes: 10