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
newey2 with forceHello, I am working with a very unbalanced panel data set, where my id variable is an individual, an…
How to print values in parenthesis when using a matrix with esttab?So I generate a lot of tables where I have to use parenthesis (e.g mean (SD) format). The problem is…
cmissing having no effectI am trying to create a line graph that does not connect when there are observations with missing da…
Issue with svyset, getting "command svyset_8 is unrecognized"Hello all, I am in the process of analyzing some data from the National Readmissions Database (NRD)…
Accidentally saved as txt fileHello I imported a txt file and then accidentally overwrote it as a txt file. I did not change any o…
Subscribe to:
Post Comments (Atom)
0 Response to How to remove variable label from x axis using catplot
Post a Comment