Tell me more ×
Cross Validated is a question and answer site for statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.

how can I add a label to the max value of this plot:

qplot(c, data=subset(df,c < 3000),geom="freqpoly")

enter image description here

c is just integers

share|improve this question

1 Answer

up vote 1 down vote accepted

I think either annotate or geom_text is what you're looking for. http://stackoverflow.com/questions/2409357/how-to-nicely-annotate-a-ggplot2-manual

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.