Dear Stata users,
I am sure this thread might have been posted earlier, but I am unable to understand though I did a quick check with this thread https://www.statalist.org/forums/for...decimal-places .
My query is how could i get rounding off figures as labels on the graph as my labels should match with the tables. I have used the following syntax for running a graph and Its result is attached here. Can anyone help me out to add an option to take care of rounding off the figure (for eg; 0.00 to 0)
graph hbar (mean) income_agri_yearly if n==1 & consent ==1 & income_agri_yearly !=0 [aweight = trimweight], over(socialgroup_hhm) blabel(bar) legend(on) name(AgriculturalIncome) title(Agricultural Income)
I am sure this thread might have been posted earlier, but I am unable to understand though I did a quick check with this thread https://www.statalist.org/forums/for...decimal-places .
My query is how could i get rounding off figures as labels on the graph as my labels should match with the tables. I have used the following syntax for running a graph and Its result is attached here. Can anyone help me out to add an option to take care of rounding off the figure (for eg; 0.00 to 0)
graph hbar (mean) income_agri_yearly if n==1 & consent ==1 & income_agri_yearly !=0 [aweight = trimweight], over(socialgroup_hhm) blabel(bar) legend(on) name(AgriculturalIncome) title(Agricultural Income)
Comment