📄 twoway_connected.hlp
字号:
{smcl}
{* 08apr2005}{...}
{cmd:help twoway connected} {right:dialog: {dialog econnected:easy connected graph}}
{right:{dialog twoway_overlay:overlaid twoway}{space 5}}
{right:{dialog twoway_simple:single twoway}{space 7}}
{hline}
{title:Title}
{p2colset 5 35 37 2}{...}
{p2col :{hi:[G] graph twoway connected} {hline 2}}Twoway connected plots{p_end}
{p2colreset}{...}
{title:Syntax}
{p 8 55 2}
{cmdab:tw:oway}
{cmdab:con:nected}
{it:varlist}
{ifin}
{weight}
[{cmd:,}
{it:{help scatter:scatter_options}}]
{pstd}
where {it:varlist} is
{it:y_1} [{it:y_2} [...]] {it:x}
{pstd}
{cmd:aweight}s,
{cmd:fweight}s, and
{cmd:pweight}s are allowed; see {help weight}.
{title:Description}
{pstd}
{cmd:connected} draws connected-line plots. In a connected-line plot,
the markers are displayed and the points are connected.
{pstd}
{cmd:connected} is a {it:plottype} as
defined in {helpb twoway}. Thus the syntax for {cmd:connected} is
{cmd:. graph twoway connected} ...
{cmd:. twoway connected} ...
{pstd}
Being a plottype, {cmd:connected} may be combined with other plottypes in the
{cmd:twoway} family, as in,
{cmd:. twoway (connected} ...{cmd:) (scatter} ...{cmd:) (lfit} ...{cmd:)} ...
{title:Options}
{phang}
{it:scatter_options}
are any of the options allowed by the {cmd:graph} {cmd:twoway}
{cmd:scatter} command; see {helpb scatter}.
{title:Remarks}
{pstd}
{cmd:connected} is, in fact, {cmd:scatter}, the difference being that by
default the points are connected:
Default {cmd:connect()} option: {cmd:connect(l ...)}
{pstd}
Thus you get the same results by typing
{cmd:. twoway connected yvar xvar}
{pstd}
as typing
{cmd:. scatter yvar xvar, connect(l)}
{pstd}
You can just as easily turn {cmd:connected} into {cmd:scatter}: Typing
{cmd:. scatter yvar xvar}
{pstd}
is the same as typing
{cmd:. twoway connected yvar xvar, connect(none)}
{title:Also see}
{psee}
Manual: {bf:[G] graph twoway connected}
{psee}
Online: {helpb scatter}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -