但是我在作图过程之中help line发现默认设置是line将忽略关于标记点marker的所有设置不是吗?也就是说二楼的设置是无效的?
Oneway equivalency of line and scatter
line is similar to scatter, the differences being that by default the marker symbols are
not displayed and the points are connected:
Default msymbol() option: msymbol(none ...)
Default connect() option: connect(l ...)
Thus you get the same results typing
. line yvar xvar
as typing
. scatter yvar xvar, msymbol(none) connect(l)
You can use scatter in place of line, but you may not use line in place of scatter.
Typing
. line yvar xvar, msymbol(O) connect(none)
will not achieve the same results as
. scatter yvar xvar
because line, while it allows you to specify the marker_option msymbol(), ignores its
setting.