📄 connectstyle.hlp
字号:
{smcl}
{* 01mar2005}{...}
{cmd:help connectstyle}
{hline}
{* index connectstyle it}{...}
{* connect() tt option}{...}
{title:Title}
{p2colset 5 25 27 2}{...}
{p2col :{hi:[G] {it:connectstyle}} {hline 2}}Choices for how points are connected{p_end}
{p2colreset}{...}
{title:Syntax}
{it:connectstyle} synonym description
{hline 65}
{cmd:none} {cmd:i} do not connect
{cmd:direct} {cmd:l} connect with straight lines
{cmd:ascending} {cmd:L} {cmd:direct}, but only if x[j+1] > x[j]
{cmd:stairstep} {cmd:J} flat, then vertical
{cmd:stepstair} vertical, then flat
{hline 65}
{pin}
Other {it:connectstyles} may be available; type
{cmd:.} {bf:{stata graph query connectstyle}}
{pin}
to obtain the full list installed on your computer.
{title:Description}
{pstd}
{it:connectstyle} specifies if and how points in a scatter are to be
connected, e.g., via straight lines, stairsteps, etc.
{pstd}
{it:connectstyle} is specified inside the {cmd:connect()} option which is
allowed, for instance, with {cmd:scatter}:
{cmd:. scatter} ...{cmd:, connect(}{it:connectstylelist}{cmd:)} ...
{pstd}
In this case, a {it:connectstylelist} is allowed.
A {it:connectstylelist} is a sequence of {it:connectstyles} separated by
spaces. Shorthands are allowed to make specifying the list easier;
see {it:{help stylelists}}.
{title:Remarks}
{pstd}
Points are connected in the order of the data, so be sure that data are
in the desired order (which is usually ascending value of {it:x}) before
specifying the {cmd:connect(}{it:connectstyle}{cmd:)} option.
Commands that provide {cmd:connect()} also provide a {cmd:sort}
option, which will sort by the {it:x} variable for you.
{pstd}
{cmd:connect(l)} is the most common choice.
{pstd}
{cmd:connect(J)} is the appropriate way to connect the points of empirical
cumulative distribution functions (CDFs).
{title:Also see}
{psee}
Manual: {bf:[G] {it:connectstyle}}
{psee}
Online: {it:{help connect_options}}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -