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?
ivprobit reports first stage results even w/o `first` optionI'm using ivprobit with Stata 14 and I think I discovered a bug. There is the option "first" to disp…
Difference in Difference model with panel data Dear, I have some questions about the difference-in-differences (DID) model with fixed effects. I …
Distribution of gender within subgroups of a groupHi! I want to do demographics on my data. I have an outcome variable called hypertension (0/1). If …
summary stats with yearsDear all, do you know if there is a quick and easy way to produce summary stats with a column conta…
Order Coefficients in coefplotHi all, I am trying to produce a coefplot, and for some reason, the baseline year is showing up fir…
Subscribe to:
Post Comments (Atom)
0 Response to putdocx + loop --> label?
Post a Comment