I want to use macro and loop over the plot function:
Code:
local pair1 X1 Y1 local pair2 X2 Y2 local pair3 X3 Y3 local pair4 X4 Y4 local pairs pair1 pair2 pair3 pair4 ********************** plot two-way scatter graphs ********************** foreach pair in `pairs' { graph twoway (scatter `pair') }
0 Response to loop over nested macro
Post a Comment