legend(off):不显示图例。 scheme(s2mono):使用s2mono配色方案。 graphregion(fcolor(white) lcolor(white)) plotregion(lcolor(white)) xscale(off):设置图形区域的填充色和线颜色为白色,图形区域内的线颜色为白色,不显示x轴刻度。 可以得到: 图2 合并两张图 ** 合并两张图 graph combine "$figure_output...
grc1leg 用于组合图形,在具体用法上与 graph combine 相同,只是它为所有组合图形显示一个公共图例,该公共图例是组合图形中的图例之一。 * 命令安装 net install grc1leg, from("http://www.stata.com/users/vwiggins") * 命令语法 grc1leg name [name ...] [, combine_options legend_options ] 其中,name...
xlabel(1980(5)2017, labsize(vsmall)) xmtick(1980(1)2017) legend(on order(1 "Numberofinactivatedfirms(lhs)" 2 "Extractionrate(rhs)") rows(1) size(vsmall) position(6)) saving(extract, replace)graphcombineoil.gphextract.gph,colfirstrows(1)imargin(tiny)title("Figure 2: Global number of...
graph combine 1.gph 2.gph 3.gph ,ycommon xsize() ysize() graphregion(fcolor(white)) cols() rows() //x|ysize 组合图形的宽度长度 //缺点:没有图例操作 //如有对图例的特殊操作可使用 grc1leg ,使用前需先安装grc1leg第三方包 grc1leg 1.gph 2.gph,ycommon graphregion(fcolor(white)) p...
(cty_box, replace) graphregion(margin(l=16)) fysize(5) graph combine cty_box main hwy_box, hole(2) commonscheme ycommon xcommon scheme(white_tableau) /// title("{bf}Marginal Box Plot - Scatter Count plot", size(2.75) pos(11)) subtitle("mpg: Highway vs. City Mileage", size(...
graph combine male.gph female.gph, ycommon 二十四、纵向组合折线图 sysuse uslifeexp, clear line le_male year, ylab(,grid) saving(male) line le_female year, ylab(,grid) saving(female) gr combine male.gph female.gph, col(1) scale(1) ...
. graph combine gr1 gr2, cols(2) imargin(vsmall) ycommon>b2title(year, size(small)) Spiky time series: Leaving gaps but showing outlier details too To illustrate another approach, we make ourselves a sandbox to play in by generating some spiky time series as the reciprocals of uniformly ...
() ysize() graphregion(fcolor(white)) cols() rows()//x|ysize 组合图形的宽度长度//缺点:没有图例操作//如有对图例的特殊操作可使用 grc1leg ,使用前需先安装grc1leg第三方包grc1leg1.gph2.gph,ycommon graphregion(fcolor(white)) pos(6)//grcleg有且尽可能使用1.gph的图例,若2.gph图例与1...
在绘制的同时我们对每一张图表命名以便于后续的图表合并,最终我们采用graph combine命令将三张图表合并在一起,ycommon选项的添加能够使三张图表的 y 轴显示范围保持一致,从而使图表更加美观。 margins ses, atmeans predict(outcome(1)) marginsplot, name(general) margins ses, atmeans predict(outcome(2)) ...
gr_common_axes.ado C:\Program Files\Stata16\ado\base\_\_gr_drawrect.ado C:\Program Files\Stata16\ado\base\_\_gr_linkstyles.ado C:\Program Files\Stata16\ado\base\_\_gr_symbol_of.ado C:\Program Files\Stata16\ado\base\_\_grank.ado C:\Program Files\Stata16\ado\base\_\_graph....