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
Questions: reshape to long format for three conditionsHi all, I have three conditions (1, 2, 3) and for each condition, people answered 30 same questions.…
Quarterly GDP disaggregation to monthly levels - Gravity model estimationDear Forum, I am currently working on a gravity model to estimate the effects on trade of an exogen…
Cointegration test for panel varDear all, I'm very new to stata and panel. I want to perform cointegration test for panel var. ex) …
Counting observations within a particular time-intervalDear Stata-enthousiasts, I'm currently doing some research on paid parking in 3 parking garages The…
Fraction By GroupDear Stata Users; I have cross sectional data constructed by combining two waves of surveys. The edu…
Subscribe to:
Post Comments (Atom)
0 Response to Blue-gray thin frame when combining graphs
Post a Comment