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
Related Posts with Adding labels to only some columns of an histogram
xpose/sxpose keep a variable observations to assign as labels to new variablesDear Statalisters, I am trying to solve the following problem: assign the observations of a variable…
export `sjlog` when error is included in the code I would like to put the following code: Code: sjlog using "${route_sjlog_files}\example_35" , rep…
having problem in recodingDear Statalist, I am facing problem in decoding string variable. For example, the following command…
Can my survivor function even look like this?The graph of my survivor function looks like this. I was wondering is that even reasonable? I learne…
Merging several columns to categories of one variableHi, I have to merge the five columns (poor to excellent) as five categories of one variable health …
Subscribe to:
Post Comments (Atom)
0 Response to Adding labels to only some columns of an histogram
Post a Comment