Dear Statalisters,
This is a very simple question.
I am using Stata 14.
I am doing an histogram with the percentages of a given variable. See next:
histogram [variable name], percent addl addlabopts(yvarformat(%4.1f)) name([name of the graph], replace)
But I do not want labels (percentages at just one digit) at the top of all the columns of the histogram; only on the top of some of them. It could at the top of one column in every four; or alternatively, at the top of the first and last column, which turn out the ones corresponding to the higher percentages of the variable.
Is there any option that I could add either to addl or addlabopts so that the graph is generated with values in only some of the columns.
Thanks for your attention
Luis
0 Response to Adding labels to only some columns of an histogram
Post a Comment