Hi All,
I am creating a map in stata and did this in a loop since I will be creating many of them. However each map is being replaced by the next one that runs from the loop. Any idea how I can have all the maps appearing without replacing each other will be greatly appreciated.
Below is the command of my loop
foreach var in p1 p2 p3 p4 p5 p6 p7 p8 p9 p10{
2. spmap `var' using uscoord if cid !=., id(id) fcolor(Blues)
3. }
Thanks,
Francis
I am creating a map in stata and did this in a loop since I will be creating many of them. However each map is being replaced by the next one that runs from the loop. Any idea how I can have all the maps appearing without replacing each other will be greatly appreciated.
Below is the command of my loop
foreach var in p1 p2 p3 p4 p5 p6 p7 p8 p9 p10{
2. spmap `var' using uscoord if cid !=., id(id) fcolor(Blues)
3. }
Thanks,
Francis
Comment