⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 barlook_options.hlp

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 HLP
字号:
{smcl}
{* 05mar2005}{...}
{cmd:help barlook_options}
{hline}
{* index bars, look of}{...}
{* index barlook_options it}{...}
{* color, of bars}{...}

{title:Title}

{p2colset 5 28 30 2}{...}
{p2col :{hi:[G] {it:barlook_options}} {hline 2}}Options for setting the look of bars{p_end}
{p2colreset}{...}


{title:Syntax}

	{it:barlook_options}{col 39}description
	{hline 70}
	{cmdab:col:or:(}{it:{help colorstyle}}{cmd:)}{...}
{col 39}outline and fill color
	{cmdab:fc:olor:(}{it:{help colorstyle}}{cmd:)}{...}
{col 39}fill color

	{cmdab:lc:olor:(}{it:{help colorstyle}}{cmd:)}{...}
{col 39}outline color
	{cmdab:lw:idth:(}{it:{help linewidthstyle}}{cmd:)}{...}
{col 39}thickness of outline
	{cmdab:lp:attern:(}{it:{help linepatternstyle}}{cmd:)}{...}
{col 39}outline pattern (solid, dashed, etc.)
	{cmdab:lsty:le:(}{it:{help linestyle}}{cmd:)}{...}
{col 39}overall look of outline

	{cmdab:bsty:le:(}{it:{help areastyle}}{cmd:)}{...}
{col 39}overall look of bar, all settings above
	{cmdab:psty:le:(}{it:{help pstyle}}{cmd:)}{...}
{col 39}overall plot style, including areastyle
	{hline 70}
{pin}
All options are {it:merged-implicit}; see 
{help repeated options}.


{title:Description}

{pstd}
The {it:barlook_options} determine the look of bars produced by {cmd:graph}
{cmd:bar}, {cmd:graph} {cmd:hbar}, {cmd:graph} {cmd:twoway} {cmd:bar},
{cmd:graph} {cmd:twoway} {cmd:hbar}, and several other commands that render
bars.  The {it:barlook_options} and the {it:{help area_options}} are
synonymous, and the options may be used interchangeably.


{title:Options}

{phang}
{cmd:color(}{it:colorstyle}{cmd:)}
    specifies a single color to be used both to outline the shape of the
    bar and to fill its interior.
    See {it:{help colorstyle}} for a list of color choices.

{phang}
{cmd:fcolor(}{it:colorstyle}{cmd:)}
    specifies the color to be used to fill the interior of the bar.
    See {it:{help colorstyle}} for a list of color choices.

{phang}
{cmd:lcolor(}{it:colorstyle}{cmd:)}
    specifies the color to be used to outline the bar.
    See {it:{help colorstyle}} for a list of color choices.

{phang}
{cmd:lwidth(}{it:linewidthstyle}{cmd:)}
    specifies the thickness of the line to be used to outline the bar.
    See {it:{help linewidthstyle}} for a list of choices.

{phang}
{cmd:lpattern(}{it:linepatternstyle}{cmd:)}
    specifies whether the line used to outline the bar is solid, dashed,
    etc.
    See {it:{help linepatternstyle}} for a list of pattern choices.

{phang}
{cmd:lstyle(}{it:linestyle}{cmd:)}
    specifies the overall style of the line used to outline the bar, 
    including its pattern (solid, dashed, etc.), thickness, and color.
    The three options listed above allow you to change the line's attributes,
    but {cmd:lstyle()} is the starting point.
    See {it:{help linestyle}} for a list of choices.

{phang}
{cmd:bstyle(}{it:areastyle}{cmd:)}
    specifies the look of the bar.  The options listed above allow you to
    change each attribute, but {cmd:bstyle()} provides a starting point.

{pmore}
    You need not specify {cmd:bstyle()} just because there is something you
    want to change.  You specify {cmd:bstyle()} 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.

{pmore}
    See {it:{help areastyle}} for a list of available area styles.

{phang}
{cmd:pstyle(}{it:pstyle}{cmd:)}
    specifies the overall style of the plot, including not only the areastyle,
    but all other settings for the look of the plot.  Only the 
    {it:{help areastyle}} affects the look of areas.  See 
    {it:{help pstyle}} for a list of available plot styles.


{title:Remarks}

{pstd}
The {it:barlook_options} are allowed inside {cmd:graph} {cmd:bar}'s
and {cmd:graph} {cmd:hbar}'s option
{cmd:bar(}{it:#} {it:barlook_options}{cmd:)}, as in

{phang2}
	{cmd:. graph bar} {it:yvar1} {it:yvar2}{cmd:, bar(1,color(green)) bar(2,color(red))}

{pstd}
The command above would set the bar associated with {it:yvar1} to be green and
the bar associated with {it:yvar2} to be red; see {help graph_bar}.

{pstd}
{it:barlook_options} are also allowed as options with {cmd:graph}
{cmd:twoway} {cmd:bar} and {cmd:graph} {cmd:twoway} {cmd:rbar}, as in

{phang2}
	{cmd:. graph twoway bar} {it:yvar} {it:xvar}{cmd:, color(green)}

{pstd}
The above would set all the bars (which are located at {it:xvar} and extend
to {it:yvar}) to be green; see {help twoway_bar} and 
{help twoway_rbar}.

{pstd}
The {cmd:lcolor()}, {cmd:lwidth()}, {cmd:lpattern()}, and {cmd:lstyle()}
options are also used to specify how plotted lines and spikes look for all of
{cmd:graph} {cmd:twoway}'s 
{help graph twoway##rangeplots:range plots}, 
{help graph twoway##pcplots:paired-coordinate plots}, and for
{help graph twoway##barplots:area plots},
{help graph twoway##barplots:bar plots},
{help graph twoway##barplots:spike plots}, and
{help graph twoway##barplots:dropline plots}.
For example,

{phang2}
	{cmd:. graph twoway rspike} {it:y1var} {it:y2var} 
				    {it:xvar}{cmd:, lcolor(red)}

{pstd}
will set the color of the horizontal spikes between values of {it:y1var} and
{it:y2var} to be red.



{title:Also see}

{psee}
Manual:  {bf:[G] {it:barlook_options}}

{psee}
Online:  {it:{help areastyle}},
{it:{help colorstyle}},
{it:{help linestyle}},
{it:{help linepatternstyle}},
{it:{help linewidthstyle}};
{helpb graph bar},
{helpb twoway bar},
{helpb twoway rbar}
{p_end}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -