📄 cat_axis_line_options.hlp
字号:
{smcl}
{* 01mar2005}{...}
{cmd:help cat_axis_line_options}
{hline}
{* index axis line, look of}{...}
{title:Title}
{p2colset 5 34 36 2}{...}
{p2col :{hi:[G] {it:cat_axis_line_options}} {hline 2}}Options for specifying look of categorical axis line{p_end}
{p2colreset}{...}
{title:Syntax}
{it:cat_axis_line_options}{col 40}description
{hline 70}
{cmd:off} and {cmd:on}{...}
{col 40}suppress/force display of axis
{cmd:fill}{...}
{col 40}allocate space for axis even if {cmd:off}
{cmdab:fex:tend}{...}
{col 40}extend axis line through plot region
{col 40} and plot region's margin
{cmdab:ex:tend}{...}
{col 40}extend axis line through plot region
{cmdab:noex:tend}{...}
{col 40}do not extend axis line at all
{cmdab:noli:ne}{...}
{col 40}do not even draw axis line
{cmdab:li:ne}{...}
{col 40}force drawing of axis line
{cmdab:titleg:ap:(}{it:{help relativesize}}{cmd:)}{...}
{col 40}margin between axis title and
{col 40} tick labels
{cmdab:outerg:ap:(}{it:{help relativesize}}{cmd:)}{...}
{col 40}margin outside of axis title
{cmdab:lsty:le:(}{it:{help linestyle}}{cmd:)}{...}
{col 40}overall style of axis line
{cmdab:lc:olor:(}{it:{help colorstyle}}{cmd:)}{...}
{col 40}color of axis line
{cmdab:lw:idth:(}{it:{help linewidthstyle}}{cmd:)}{...}
{col 40}thickness of axis line
{cmdab:lp:attern:(}{it:{help linepatternstyle}}{cmd:)}{...}
{col 40}whether axis solid, dashed, etc.
{hline 70}
{title:Description}
{pstd}
The {it:cat_axis_line_options} determine the look of the categorical {it:x}
axis in {cmd:graph} {cmd:bar}, {cmd:graph} {cmd:hbar}, {cmd:graph} {cmd:dot},
and {cmd:graph} {cmd:box}. These options are rarely specified but when
specified, are specified inside {cmd:axis()} of {cmd:over()}:
{phang2}
{cmd:. graph} ...{cmd:, over(}{it:varname}{cmd:,} ... {cmd:axis(}{it:cat_axis_line_options}{cmd:)} ...{cmd:)}
{title:Options}
{phang}
{cmd:off} and {cmd:on}
suppress or force the display of the axis.
{phang}
{cmd:fill} goes with {cmd:off} and is seldom
specified. If you turned an axis off but still wanted the space to be
allocated for the axis, you could specify {cmd:fill}.
{phang}
{cmd:fextend}, {cmd:extend}, {cmd:noextend}, {cmd:line}, and {cmd:noline}
determine how much of the line representing the axis is to be drawn. They
are alternatives.
{pmore}
{cmd:noline} specifies that the line not be drawn at all. The axis
is there, ticks and labels will appear, but the axis line itself will not
be drawn.
{pmore}
{cmd:line} is the opposite of {cmd:noline}, for use if the axis line
somehow got turned off.
{pmore}
{cmd:noextend} specifies that the axis line not extend beyond the
range of the axis, defined by the first and last categories.
{pmore}
{cmd:extend} specifies that the line be longer than that and extend
all the way across the plot region.
{pmore}
{cmd:fextend} specifies that the line be longer than that and
extend across the plot region and across the plot region's margins. For a
definition of the plot region's margins, see
{it:{help region_options}}. If the plot region has no margins (which
would be rare), then {cmd:fextend} means the same as {cmd:extend}. If the
plot region does have margins, {cmd:extend} would result in the {it:y} and
{it:x} axes not meeting. With {cmd:fextend}, they touch.
{pmore}
{cmd:fextend} is the default with most schemes.
{phang}
{cmd:titlegap(}{it:relativesize}{cmd:)} specifies the margin to be inserted
between the axis title and the axis' tick labels.
{phang}
{cmd:outergap(}{it:relativesize}{cmd:)} specifies the margin to be inserted
outside of the axis title.
{phang}
{cmd:lstyle(}{it:linestyle}{cmd:)},
{cmd:lcolor(}{it:colorstyle}{cmd:)},
{cmd:lwidth(}{it:linewidthstyle}{cmd:)}, and
{cmd:lpattern(}{it:linepatternstyle}{cmd:)}
determine the overall look of the line that is the axis;
see {help lines}.
{title:Remarks}
{pstd}
The {it:cat_axis_line_options} are rarely specified.
{title:Also see}
{psee}
Manual: {bf:[G] {it:cat_axis_line_options}}
{psee}
Online:
{helpb graph bar},
{helpb graph box},
{helpb graph dot}
{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -