gridstyle.hlp

来自「是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到」· HLP 代码 · 共 139 行

HLP
139
字号
{smcl}
{* 07mar2005}{...}
{cmd:help gridstyle}
{hline}
{* index gridstyle it}{...}

{title:Title}

{p2colset 5 22 24 2}{...}
{p2col :{hi:[G] {it:gridstyle}} {hline 2}}Choices for overall look of grid lines{p_end}
{p2colreset}{...}


{title:Syntax}

	{it:gridstyle}{col 30}description
	{hline 61}
	{cmd:default}{...}
{col 30}determined by scheme
	{cmd:major}{...}
{col 30}determined by scheme; {cmd:default} or bolder
	{cmd:minor}{...}
{col 30}determined by scheme; {cmd:default} or fainter
	{cmd:dot}{...}
{col 30}dotted line
	{hline 61}

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

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

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


{title:Description}

{pstd}
Grids are lines that extend from an axis across the plot region.
{it:gridstyle} specifies the overall look of grids.
See {it:{help axis_label_options}}.


{title:Remarks}

{pstd}
Remarks are presented under the headings

	{help gridstyle##remarks1:What is a grid?}
	{help gridstyle##remarks2:What is a gridstyle?}
	{help gridstyle##remarks3:You do not need to specify a gridstyle}
	{help gridstyle##remarks4:Turning off and on the grid}


{* index grid, definition}{...}
{marker remarks1}{...}
{title:What is a grid?}

{pstd}
Grids are lines that extend from an axis across the plot region.


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

{pstd}
Grids are defined by

{phang2}
    1.  whether the grid lines extend into the plot region's margin;

{phang2}
    2.  whether the grid lines close to the axes are to be drawn;

{phang2}
    3.  the line style of the grid, which includes the line's
	thickness, color, and whether they are solid, dashed, etc.;
	see {it:{help linestyle}}.

{pstd}
The {it:gridstyle} specifies all three of these attributes.


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

{pstd}
The {it:gridstyle} is specified in the options named

	{c -(}{...}
{cmd:y}|{cmd:x}{...}
{c )-}{...}
{c -(}{...}
{cmd:label}|{cmd:tick}|{cmd:mlabel}|{cmd:mtick}{...}
{c )-}{...}
{cmd:(} ... {cmd:gstyle(}{it:gridstyle}{cmd:)} ... {cmd:)}

{pstd}
Correspondingly, other
{c -(}{cmd:y}|{cmd:x}{c )-}{c -(}{cmd:label}|{cmd:tick}|{cmd:mlabel}|{cmd:mtick}{c )-}{cmd:()}
suboptions allow you to specify the individual attributes;
see {it:{help axis_label_options}}.

{pstd}
You specify the {it:gridstyle} 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.


{marker remarks4}{...}
{title:Turning off and on the grid}

{pstd}
Whether grid lines are included by default is a function of the
scheme; see {help schemes}.
Regardless of the default,
whether grid lines are included is controlled not by the {it:gridstyle},
but by the
{c -(}{cmd:y}|{cmd:x}{c )-}{c -(}{cmd:label}|{cmd:tick}|{cmd:mlabel}|{cmd:mtick}{c )-}{cmd:()}
suboptions {cmd:grid} and {cmd:nogrid}.

{pstd}
Grid lines are nearly always associated with the {cmd:ylabel()} and/or
{cmd:xlabel()} options.  Specify
{c -(}{cmd:y}|{cmd:x}{c )-}{cmd:label(,grid)} or
{c -(}{cmd:y}|{cmd:x}{c )-}{cmd:label(,nogrid)}.
See {it:{help axis_label_options}}.


{title:Also see}

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

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

⌨️ 快捷键说明

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