📄 lines.hlp
字号:
{smcl}
{* 01mar2005}{...}
{cmd:help lines}
{hline}
{title:Title}
{p2colset 5 27 29 2}{...}
{p2col :{hi:[G] concept: lines} {hline 2}}Using line{p_end}
{p2colreset}{...}
{title:Syntax}
{pstd}
The following affects how a line appears:
{hline 69}
{it:{help linestyle}} overall style
{it:{help linepatternstyle}} whether solid, dashed, etc.
{it:{help linewidthstyle}} its thickness
{it:{help colorstyle}} its color
{hline 69}
{title:Description}
{pstd}
Lines occur in many contexts{hline 2}in borders, axes, the ticks on axes, the
outline around symbols, the connecting of points in a plot, and more.
{it:linestyle}, {it:linepatternstyle}, {it:linewidthstyle}, and
{it:colorstyle} define the look of the line.
{title:Remarks}
{pstd}
{it:linestyle}, {it:linepatternstyle}, {it:linewidthstyle}, and
{it:colorstyle} are specified inside options that control how the line
is to appear. Regardless of the object, these options usually have the same
names:
{cmd:lstyle(}{it:linestyle}{cmd:)}
{cmd:lpattern(}{it:linepatternstyle}{cmd:)}
{cmd:lwidth(}{it:linewidthstyle}{cmd:)}
{cmd:lcolor(}{it:colorstyle}{cmd:)}
{pstd}
Though for a few objects, such as markers, the form of the names is
<{it:object}>{cmd:lstyle(}{it:linestyle}{cmd:)}
<{it:object}>{cmd:lpattern(}{it:linepatternstyle}{cmd:)}
<{it:object}>{cmd:lwidth(}{it:linewidthstyle}{cmd:)}
<{it:object}>{cmd:lcolor(}{it:colorstyle}{cmd:)}
{pstd}
For instance,
{p 8 11 2}
o{space 2}The options to specify how the lines connecting points in a plot are
to appear are specified by the options {cmd:lstyle()}, {cmd:lpattern()},
{cmd:lwidth()}, and {cmd:lcolor()}; see {it:{help connect_options}}.
{p 8 11 2}
o{space 2}The suboptions to specify how the border around a textbox, such as a
title, are to appear are named {cmd:lstyle()}, {cmd:lpattern()},
{cmd:lwidth()}, and {cmd:lcolor()}; see {it:{help textbox_options}}.
{p 8 11 2}
o{space 2}The options to specify how the outline around markers
is to appear are specified by the options {cmd:mlstyle()},
{cmd:mlpattern()}, {cmd:mlwidth()}, and {cmd:mlcolor()}; see
{it:{help marker_options}}.
{pstd}
Wherever these options arise, they always come in a group of four, and the
four pieces have the same meaning.
{title:linestyle}
{pstd}
{it:linestyle} is specified inside the {cmd:lstyle()} option, or sometimes
inside the <{it:object}>{cmd:lstyle()} option.
{pstd}
{it:linestyle} specifies the overall style of the line: its pattern
(solid, dashed, etc.), thickness, and color.
{pstd}
You need not specify the {cmd:lstyle()} option just because
there is something you want to change about the look of the line and, in fact,
most of the time you do not. You specify
{cmd:lstyle()} when another style exists that is exactly what you
desire or when another style would allow you to specify fewer changes to
obtain what you want.
{pstd}
See {it:{help linestyle}} for the list of what may be specified inside
the {cmd:lstyle()} option.
{title:linepatternstyle}
{pstd}
{it:linepatternstyle} is specified inside the {cmd:lpattern()} or
<{it:object}>{cmd:lpattern()} option.
{pstd}
{it:linepatternstyle} specifies whether the line is solid, dashed, etc.
{pstd}
See {it:{help linepatternstyle}} for the list of what may be specified
inside the {cmd:lpattern()} option.
{title:linewidthstyle}
{pstd}
{it:linewidthstyle} is specified inside the {cmd:lwidth()} or
<{it:object}>{cmd:lwidth()} option.
{pstd}
{it:linewidthstyle} specifies the thickness of the line.
{pstd}
See {it:{help linewidthstyle}} for the list of what may be specified
inside the {cmd:lwidth()} option.
{title:colorstyle}
{pstd}
{it:colorstyle} is specified inside the {cmd:lcolor()} or
<{it:object}>{cmd:lcolor()} option.
{pstd}
{it:colorstyle} specifies the color of the line.
{pstd}
See {it:{help colorstyle}} for the list of what may be specified inside
the {cmd:lcolor()} option.
{title:Also see}
{psee}
Manual: {bf:[G] concept: lines}
{psee}
Online:
{it:{help linestyle}},
{it:{help linepatternstyle}},
{it:{help linewidthstyle}},
{it:{help colorstyle}};
{it:{help connect_options}}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -