I simply put, plot(density(XXXX), main="XXXX", + xlab = "XXX"), it says that I have an unexpected "=" in it. -- View this message in context: http://r.789695.n4.nabble.com/how-to-change-the-xlab-name-tp2528733p2528733.html Sent from the R help mailing list archive at Nabble.com.