Coefplot彼此相邻

Coefplot fit next to each other

我正在创建三个具有相同变量的系数图,并希望它们彼此相邻,但第三个不适合水平放置,因此它出现在另外两个下方。我的密码是

coefplot reg1O reg2O, bylabel(Overall) || reg1R reg2R, bylabel(Right) || reg1L reg2L, bylabel(Left) ||, keep(xvar1 xvar2 xvar3) xline(0, lpattern(dash)) nokey ciopts(lcolor(blue) recast(rcap)) color(blue)

我想知道是否有办法告诉 Stata 水平扩展 eps 图,以便所有图彼此相邻,无论需要多少 space?

非常感谢!

问题可能不是因为缺少 space,而是因为您没有指定选项 byopts(compact rows(1))。如果您希望所有盆都在一行或一列上,则需要指定。不过,如果没有可重现的例子,很难说清楚。

您可能知道此网页,但在此处的“子图如何组合”部分中也有解释:http://repec.sowi.unibe.ch/stata/coefplot/getting-started.html