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
Marginal Effects of a Fractional Response ModelHi all, I have a Fractional Response Model where my dependent variable is bounded between 0 and 1 -…
How to find the index of the observation that has the maximum value of a variableHello, I have two questions: - Is there easy way to retrieve the index of the observation that has t…
matrix var nov with zeros for base dummy levelDear friends from the State community : I estimated a model with dummy variables but when I take a l…
4-year interval and retardation variableDear all: I use fixed-effect threshold model to study the effect of aid on FDI. The data is yearly …
2SLS with an instrumented variable as an instrumentHello, I am studying the effect of Foreign Direct Investment (FDI) presence in an industry on the p…
Subscribe to:
Post Comments (Atom)
0 Response to How to remove variable label from x axis using catplot
Post a Comment