10/7/2023 0 Comments Add tag to xline stata![]() > 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. ![]() However, when I use xline (), the lines are always in the background. Is it possible to use a symbol with Statas xtline command I tried labeling the Y-axis, and it didnt work. 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. 1 Put xline in front of a histogram, 13:13 I have a histogram in Stata and want to plot two vertical lines in front of it. > It replaces the tick marks with my "2 Stars" etc. > histogram totalpoints, discrete percent xline(50 75 100 125) xlabel(50 "2 Stars" 75 "3 Stars" 100 "4 Stars" 125 "5 Stars") > I'd like to label them, but when I run the code axis()species to which axis theyline(), xline(), or tline()is to be applied. Suboptions axis()is for use only when multipley, x, ortaxes are being used (seeG-3axis choice options). > histogram totalpoints, discrete percent xline(50 75 100 125) Options yline(linearg), xline(linearg), and tline(time linearg)specify the y, x, and t(time) valueswhere lines should be added to the plot. > I am making a histogram using data that ranges from 0-200 where I have four vertical lines that are important to my data: The other problems stem from overlaying two graphs, which means that for example I have to fiddle with the labelling on the yaxis, because -twoway- doesnt give precedence to the -scatter- plot. Xla(15 "guzzler" 25 "mediocre" 35 "economic", axis(2)) To do that, I have to add an observation which contains the origin, and then arrange things so that the observation is excluded from the scatter plot. However I am unsure how to label these xlines. ![]() Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at . 1 Labelling 'xline', 01:50 Hello all, I have a CDF with a few 'xlines'.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |