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

📄 legendstyle.hlp

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

{title:Title}

{p2colset 5 24 26 2}{...}
{p2col :{hi:[G] {it:legendstyle}} {hline 2}}Choices for look of legends{p_end}
{p2colreset}{...}


{title:Syntax}

	{it:legendstyle}       description
	{hline 55}
	{cmd:default}           determined by scheme
	{hline 55}

{pin}
Other {it:legendstyles} may be available; type

	    {cmd:.} {bf:{stata graph query legendstyle}}

{pin}
to obtain the complete list of {it:legendstyles} installed on your computer.


{title:Description}

{pstd}
{it:legendstyle} specifies the
overall style of legends
and
is specified in the {cmd:legend(style())} option:

{phang2}
	{cmd:. graph} ...{cmd:, legend(} ... {cmd:style(}{it:legendstyle}{cmd:)} ...{cmd:)}


{title:Remarks}

{pstd}
Remarks are presented under the headings

	{help legendstyle##remarks1:What is a legend?}
	{help legendstyle##remarks2:What is a legendstyle?}
	{help legendstyle##remarks3:You do not need to specify a legendstyle}


{marker remarks1}{...}
{title:What is a legend?}

{pstd}
A legend is a table that shows the symbols used in a graph along with text
describing their meaning.  Each symbol/text entry in a legend is called a key.
See {it:{help legend_option}} for more information.


{marker remarks2}{...}
{title:What is a legendstyle?}

{pstd}
The look of a legend is defined by fourteen attributes:

{phang2}
    1.  the number of columns or rows of the table

{phang2}
    2.  whether, in a multicolumn table, the first, second, ..., keys
	appear across the rows or down the columns

{phang2}
    3.  whether the symbol/text of a key appears horizontally adjacent
	or vertically stacked

{phang2}
    4.  the gap between lines of the legend

{phang2}
    5.  the gap between columns of the legend

{phang2}
    6.  how the symbol of a key is aligned and justified

{phang2}
    7.  the gap between the symbol and text of a key

{phang2}
    8.  the height to be allocated in the table for the symbol of the key

{phang2}
    9.  the width to be allocated in the table for the symbol of the key

{p 7 12 2}
   10.  the width to be allocated in the table for the text of the key

{p 7 12 2}
   11.  whether the above specified height, width, and width are to be
	dynamically adjusted according to contents of the keys

{p 7 12 2}
   12.  the margin around the legend

{p 7 12 2}
   13.  the color, size, etc., of the text of a key (17 attributes)

{p 7 12 2}
   14.  the look of any titles, subtitles, notes, and captions
	placed around the table (23 attributes each)

{pstd}
The {it:legendstyle} specifies all fourteen of these attributes.


{marker remarks3}{...}
{title:You do not need to specify a legendstyle}

{pstd}
The {it:legendstyle} is specified in the option

	{cmd:legend(style(}{it:legendstyle}{cmd:))}

{pstd}
Correspondingly, option {cmd:legend()} has other suboptions that will
allow you to specify the fourteen attributes individually; see
{it:{help legend_option}}.

{pstd}
Specify the {it:legendstyle} when a style exists that is exactly what
you desire or when another style would allow you to specify fewer changes
to obtain what you want.


{title:Also see}

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

{psee}
Online:  
{it:{help legend_option}}
{p_end}

⌨️ 快捷键说明

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