> 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. 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. > 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. > histogram totalpoints, discrete percent xline(50 75 100 125) xlabel(50 "2 Stars" 75 "3 Stars" 100 "4 Stars" 125 "5 Stars") twoway (connect mpg weight if foreign 0, sort) (connect mpg weight if foreign 1, sort), text (25 3700 'Foreign car') text (12 3500 'Domestic car') legend (off) Last edited by Marcos. > I'd like to label them, but when I run the code You may wish to use - text () - options, such as: Code. > histogram totalpoints, discrete percent xline(50 75 100 125) coefplot is a tool to graph results from estimation commands in Stata. > I am making a histogram using data that ranges from 0-200 where I have four vertical lines that are important to my data: variable for the category axis must be generated and coefficient labels must be. ![]() lines, see the grid option in G-3 axis label options. Histogram mpg, start(10) width(5) xaxis(1 2) xli(15 25 35) yline(), xline(), and tline() are used with twoway to add lines to the plot region. Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |