近日工作需要,本人需用stata做面积图,但是发现graph twoway area命令做出的面积图相当于excel中无堆积面积图,即第一种。
那么堆积面积图该如何做呢,我查看了stata中的help文件竟然没发现怎么解决。特向各位大侠请教,请不吝赐教
我注意到help文件中有一个nodropbase选项,但也没解决问题。
nodropbase is a programmer's option and is an alternative to base().
It specifies that rather than the enclosed area dropping to base(#)
-- or base(0) -- it drops to the line formed by (y_1,x_1) and (y_N,
x_N), where (y_1,x_1) are the y and x values in the first
observation being plotted and (y_N,x_N) are the values in the last
observation being plotted.


雷达卡



京公网安备 11010802022788号







