Dear Stata experts,
I have one question: I want to display at the same time two windows of graphs generated with the command graph combine.
For the first combination I do this
Later in the dofile i do this
But when I execute the dofile the first combination of graphics appears but inmediately is substituted with the second one. I want to keep the two graphs combinations (displayed in different windows) when i run the dofile. Is that possible? How?
Thank you in advance.
I have one question: I want to display at the same time two windows of graphs generated with the command graph combine.
For the first combination I do this
Code:
hist ideologia, norm name(G1) nodraw kdensity ideologia, norm name(G2) nodraw graph combine G1 G2
Code:
twoway (histogram ideologia if joven==1, start(0) width(1) color(red)) /// (histogram ideologia if joven==0, start(0) width(1) /// fcolor(none) lcolor(black)), legend(order(1 "Menores de 30" 2 "Mayores de 30" )) name(G7) nodraw twoway (kdensity ideologia if joven==1, width(1) color(red)) /// (kdensity ideologia if joven==0, width(1) /// fcolor(none) lcolor(black)), legend(order(1 "Menores de 30" 2 "Mayores de 30" )) name(G8) nodraw graph combine G7 G8
Thank you in advance.
Comment