I would like to save multiple graphs as a pdf in Stata 17. I am using concord with three graph options: ccc qnormd and loa followed by graph export. Only the graph from the ccc option is exporting with the other graphs being overwritten. Advice would be greatly appreciated on how to uniquely name each of the graph options within the same command.
Thank you for your consideration, Sorrel
Code putpdf begin putpdf paragraph, font("Times New Roman",12) halign(center) putpdf text ("Graphs") foreach y in a b c { foreach x in d e f { concord `y' `x', summary qnormd ccc loa graph export "C:\findings and reporting\Graphs\\`y'`x'.png", replace putpdf paragraph, halign(center) putpdf image "C:\findings and reporting\Graphs\\`y'`x'.png", linebreak width(6) } } putpdf save concord_bland.pdf, replace |
Thank you for your consideration, Sorrel
Comment