Hi Everyone,
I want to combine two graphs using 'gr combine' command. Each individual graph looks as I want but when I combine them, there appears a blue-gray thin frame between and on the corners of the graphs. For illustration, you can find my sample code below.
sysuse auto.dta, clear
gen order = _n
twoway (line price order, ylabel(3000(3000)16000, nogrid labsize(medlarge)) ytitle("Price", size(medlarge)) xtitle("Order", size(medlarge)) xlabel(1(15)74, labsize(medlarge)) title("Figure 1") plotregion(fcolor(white)) graphregion(fcolor(white)) bgcolor(white) text(12000 43 "some text", size(medlarge)) ), saving("price", replace)
twoway (line price order, ylabel(3000(3000)16000, nogrid labsize(medlarge)) ytitle("Price2", size(medlarge)) xtitle("Order", size(medlarge)) xlabel(1(15)74, labsize(medlarge)) title("Figure 2") plotregion(fcolor(white)) graphregion(fcolor(white)) bgcolor(white) text(12000 43 "some text", size(medlarge)) ), saving("price2", replace)
gr combine "price.gph" "price2.gph", plotregion(fcolor(white)) graphregion(fcolor(white)) xsize(7.5) ysize(3.5) ycommon title("Combined")
Could you please help me to remove those lines? Thanks.
Best,
Ulas
Related Posts with Blue-gray thin frame when combining graphs
SVY with secondary sampling units when FPC is unknownThis question arose in my class and I was not confident enough to provide a definitive answer: Keep…
Obtain actual Stata executable nameDear All, c(sysdir_stata) gives us the folder where the currently running Stata is installed. I am …
Dropping a duplicate in variable 1 if it was also different in variable 2Hello, I am new to stata and need help in the following : Variable 1 ( ID) Variable 2 (color) 1…
Lasso Regression for logit modelHello, I am attempting to build a model for mortality prediction using lasso regression. So far I h…
Question for the STATA staff regarding STATA 17Hello, I have a question regarding a new feature for DID regression in STATA 17, which is the estat …
Subscribe to:
Post Comments (Atom)
0 Response to Blue-gray thin frame when combining graphs
Post a Comment