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
sum, d and histogram with svy:Hello Statalist, I would like to run some descriptives of some model variables for subsequent model…
Dividing panel by quartilesHello everyone, I am dividing my panel data into 4 quartiles by country's GDP and year. A country m…
Merge with complex requirements for dateHey! I need to merge two files, each with 3 variables. The first one has date, city, and score. Th…
Rescaling y-axisI am unable to to re-scale my y-axis by a factor of 1000. For instance, I have counts of events on t…
Markstat and PDF: Change the width of stata outputHi everyone, I am using markstat to make a pdf document. However, one of the stata results appeared…
Subscribe to:
Post Comments (Atom)
0 Response to How to remove variable label from x axis using catplot
Post a Comment