I am making a histogram using data that ranges from 0-200 where I have four vertical lines that are important to my data:
histogram totalpoints, discrete percent xline(50 75 100 125)
I'd like to label them, but when I run the code
histogram totalpoints, discrete percent xline(50 75 100 125) xlabel(50 "2 Stars" 75 "3 Stars" 100 "4 Stars" 125 "5 Stars")
It replaces the tick marks with my "2 Stars" etc.. I can tell it to put some of the tick marks back on by writing xlabel( 25 50 "2 Stars"), but that also looks strange.
What I'd really like is for the numerical x labels to be there (stata default is fine) but with these additional vertical lines being labeled somewhere, there is space on the graph but I can't figure out how to do it.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/