Hello!
I'm using a loop to output graphs and save them directly to Word. Is there a possibility to insert a different label before each graph?
foreach var in vbk betr_insg betr_baywiss tandem betr_par betrauf_uni betrauf_haw koopaus ///
{
tab `var' hochschulart, colum
graph bar (percent)`var', over(hochschulart) blabel(total, format(%12.2fc ))
graph export Hochschulart`var'.png, replace
putdocx paragraph, halign(center)
putdocx image Hochschulart`var'.png
}
Thx !!!
I am a real beginner and am not allowed to share the dataset and don't know how to use a fake dataset ...
Sorry for that.
Related Posts with putdocx + loop --> label?
Placing Bar Labels in Twoway Bar GraphsDear Stata Community, I am having some difficulties in placing mean numbers as labels above each bar…
10th and 90th centile for linear regressionI m using stata 14. I have linear regression between an index ( numerical value) and gestational age…
testFor a MonteCarlo study, we would like to have some simulated data that follows the process that the …
Datetime variableHello, I converted an Excel File into a Stata File. It concerns data from a website, in which parti…
Choosing variables for logistic regressionHi everybody, I am new on STATA and maybe this can sound quite stupid, but I really need some help s…
Subscribe to:
Post Comments (Atom)
0 Response to putdocx + loop --> label?
Post a Comment