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
Plot Standardized Differences between GroupsI want to standardize a set of outcomes and plot differences based on a category variable. I was usi…
Regression on observations prior to current idHi, I have been struggling with coding this. I try to run to 2 loops but it failed. So, I hope some…
How to modify the end of a string variableDear Statausers, I have a large dataset with many addresses (variable address, a string one) and I …
Stata 17: Relabel Graphs with Smaller Font Size in Survey DataDear Statalist Users, I have a quick question to ask you please: I am trying to reduce the font si…
Main effect changes signStep-1 I run a regression with one independent variable (that is of primary interest to my research)…
Subscribe to:
Post Comments (Atom)
0 Response to Blue-gray thin frame when combining graphs
Post a Comment