Hi
I am using Stata 15 and trying to create a simple graph using catplot. The variable I am trying to show on the graph is called "asset_built" and it has a label attached to it saying "Was the asset built at the reported worksite?" When I graph using catplot, this label comes up as text below the x axis. Is there a way I can remove this?
My code is
catplot asset_built, percent recast(bar) var1opts(relabel(1 "Yes, at the mentioned worksite")) title("Were assets verified built or not") blabel(bar,position(inside) color(white)) ytitle(Percentage of total assets verified) l1title("") note(Sample-`r(N)', size(medium))
Also see attached image. I want to remove the text below the x axis.
Array
Thanks
Related Posts with How to remove variable label from x axis using catplot
Extension files of OUT.file using X-12 ArimaHi, I am a novice user of Stata and in dire need of help. I am studying the monthly beer sales in bo…
Generate unique ID of 4 digitsHello, My data doesn't have a unique identifier and I want to generate a unique id of each row of 4…
OveridHello dear analysts I used to use overidentifying test by running the following HTML Code: ivregre…
Recoding rules based on string variableHello Statalist, I have a particularly unique, perhaps esoteric question. I am attempting to create…
Alternative analyses to xtologit/xtoprobit for score as dependent variable and dummy as independent variableHi everyone, I’m new to Stata (using version 15.1 on Windows 10) and regard my statistical knowledg…
Subscribe to:
Post Comments (Atom)
0 Response to How to remove variable label from x axis using catplot
Post a Comment