📄 scheme_axes.hlp
字号:
{smcl}
{* 11mar2005}{...}
{cmd:help scheme axes}
{hline}
{title:Scheme entries that control axes}
{p 3 3 2}
These graphics scheme entries control the look of graph axes. Most
characteristics of axes are shared across all graph families; unless
specifically noted, you can assume that entries are shared.
{p 3 3 2}
Some characteristics of axes for by graphs are controlled with the settings
documented in {help scheme by graphs:by graphs}.
{p 3 3 2}
The entries are presented under the headings
{p 8 12 0}{hi:Axis ticks}{p_end}
{p 8 12 0}{hi:Axis tick labels}{p_end}
{p 8 12 0}{hi:Axis titles}{p_end}
{p 8 12 0}{hi:Number of ticks}{p_end}
{p 8 12 0}{hi:Axis line}{p_end}
{p 8 12 0}{hi:Axis line extent}{p_end}
{p 8 12 0}{hi:Axis positioning}{p_end}
{p 8 12 0}{hi:Axis positioning and scaling for {cmd:graph bar} and {cmd:graph hbar}}{p_end}
{p 8 12 0}{hi:Axis positioning and scaling for {cmd:graph box} and {cmd:graph hbox}}{p_end}
{p 8 12 0}{hi:Axis positioning and scaling for {cmd:graph dot}}{p_end}
{p 8 12 0}{hi:Overall tick and label styles}{p_end}
{p 8 12 0}{hi:Overall tickset styles}{p_end}
{p 8 12 0}{hi:Overall axis styles}{p_end}
{p 3 3 2}
Most of the important entries appear in the first five sections -- you can change
most characteristics of axes using the settings in these sections.
{title:Axis ticks}
{p2colset 4 44 47 0}
{p 3 3 2}
These entries control the look of axis ticks.
{p2col:entry} description{p_end}
{p2line}
{p2col:{cmd:gsize {space 7}tick} {space 5}{it:{help textsizestyle}}}
length of major ticks{p_end}
{p2col:{cmd:color {space 7}tick} {space 5}{it:{help colorstyle}}}
color of major ticks{p_end}
{p2col:{cmd:linewidth {space 3}tick} {space 5}{it:{help linewidthstyle:linewidth}}}
line thickness of major ticks{p_end}
{p2col:{cmd:linepattern {space 1}tick} {space 5}{it:{help linepatternstyle}}}
line pattern of major ticks{p_end}
{p2col:{cmd:gsize {space 7}minortick} {space 0}{it:{help textsizestyle}}}
length of minor ticks{p_end}
{p2col:{cmd:color {space 7}minortick} {space 0}{it:{help colorstyle}}}
color of minor ticks{p_end}
{p2col:{cmd:linewidth {space 3}minortick} {space 0}{it:{help linewidthstyle:linewidth}}}
line thickness of minor ticks{p_end}
{p2col:{cmd:linepattern {space 1}minortick} {space 0}{it:{help linepatternstyle}}}
line pattern of minor ticks{p_end}
{p2col:{cmd:linestyle {space 3}minortick} {space 0}{it:{help linestyle}}}
minor tick {it:linestyle} (*){p_end}
{p2col:{cmd:tickposition {space 0}axis_tick} {space 0}{it:tickpos}}
whether axis ticks are inside the plot region, outside the plot region,
or crossing the axis; {it:tickpos} may be one of {cmd:inside},
{cmd:outside}, or {cmd:crossing}{p_end}
{p2col:{cmd:linestyle {space 3}tick} {space 5}{it:{help linestyle}}}
major tick {it:linestyle} (*){p_end}
{p2line}
{p 3 7 0}(*) Composite entry.
{title:Axis tick labels}
{p2colset 4 46 49 0}
{p 3 3 2}
These entries control the look of labels on axis ticks.
{p2col:entry} description{p_end}
{p2line}
{p2col:{cmd:gsize {space 5}tick_label} {space 6}{it:{help textsizestyle}}}
text size for major ticks}{p_end}
{p2col:{cmd:gsize {space 5}minortick_label} {space 1}{it:{help textsizestyle}}}
text size for minor ticks}{p_end}
{p2col:{cmd:color {space 5}tick_label} {space 6}{it:{help colorstyle}}}
text color{p_end}
{p2col:{cmd:anglestyle {space 0}horizontal_tick} {space 1}{it:{help anglestyle}}}
text angle for horizontal (x) axes{p_end}
{p2col:{cmd:anglestyle {space 0}vertical_tick} {space 3}{it:{help anglestyle}}}
text angle for vertical (y) axes{p_end}
{p2col:{cmd:gsize {space 5}tickgap} {space 9}{it:{help textsizestyle}}}
added distance between a tick and its label{p_end}
{p2col:{cmd:gsize {space 5}notickgap} {space 7}{it:{help textsizestyle}}}
added distance between axis line and labels for axis styles that do
not draw ticks{p_end}
{p2col:{cmd:yesno {space 5}alternate_labels} {space 0}{{cmd:yes}|{cmd:no}}}
alternate the distance of every other tick label from the axis{p_end}
{p2col:{cmd:gsize {space 5}alternate_gap} {space 3}{it:{help textsizestyle}}}
additional gap between ticks and labels previous entry is
{cmd:yes}{p_end}
{p2col:{cmd:yesno {space 5}use_labels_on_ticks} {space 0}{{cmd:yes}|{cmd:no}}}
use value labels to label ticks whenever they match a tick value{p_end}
{p2col:{cmd:textboxstyle {space 0}tick} {space 10}{it:{help textboxstyle}}}
overall text style for major tick labels (*){p_end}
{p2col:{cmd:textboxstyle {space 0}minortick} {space 5}{it:{help textboxstyle}}}
overall text style for minor tick labels (*){p_end}
{p2line}
{p 3 7 0}(*) Composite entry.
{title:Axis titles}
{p2colset 4 46 49 0}
{p 3 3 2}
These entries control the look of axis titles.
{p2col:entry} description{p_end}
{p2line}
{p2col:{cmd:gsize {space 7}axis_title} {space 4}{it:{help textsizestyle}}}
text size{p_end}
{p2col:{cmd:color {space 7}axis_title} {space 4}{it:{help colorstyle}}}
text color{p_end}
{p2col:{cmd:margin {space 6}axis_title} {space 4}{it:{help marginstyle}}}
margin around title text{p_end}
{p2col:{cmd:gsize {space 7}axis_title_gap} {space 0}{it:{help textsizestyle}}}
added distance between tick labels axis title{p_end}
{p2col:{cmd:textboxstyle {space 0}axis_title} {space 4}{it:{help textboxstyle}}}
overall text style for axis titles (*){p_end}
{p2line}
{p 3 7 0}(*) Composite entry.
{title:Number of ticks}
{p2colset 4 37 40 0}
{p 3 3 2}
These entries specify the suggested number of axis ticks. For a discussion of
the suggested number of ticks; see the {cmd:#} rule in
{help axis_label_options}.
{p2col:entry} description{p_end}
{p2line}
{p2col:{cmd:numticks_g horizontal_major} {space 1}{it:#}}
major ticks for horizontal axes{p_end}
{p2col:{cmd:numticks_g vertical_major} {space 3}{it:#}}
major ticks for vertical axes{p_end}
{p2col:{cmd:numticks_g horizontal_minor} {space 1}{it:#}}
minor ticks for horizontal axes{p_end}
{p2col:{cmd:numticks_g vertical_minor} {space 3}{it:#}}
minor ticks for vertical axes{p_end}
{p2col:{cmd:numticks_g horizontal_tmajor} {space 0}{it:#}}
major ticks for horizontal axes that do not by
default show tick labels{p_end}
{p2col:{cmd:numticks_g vertical_tmajor} {space 2}{it:#}}
major ticks for vertical axes that do not by
default show tick labels{p_end}
{p2col:{cmd:numticks_g horizontal_tminor} {space 0}{it:#}}
minor ticks for horizontal axes that do not by
default show tick labels{p_end}
{p2col:{cmd:numticks_g vertical_tminor} {space 2}{it:#}}
minor ticks for vertical axes that do not by
default show tick labels{p_end}
{p2col:{cmd:numticks_g major} {space 12}{it:#}}
default suggested number of major ticks, if other not specified{p_end}
{p2line}
{title:Axis line}
{p2colset 4 44 47 0}
{p 3 3 2}
These entries control the look of the axis line.
{p2col:entry} description{p_end}
{p2line}
{p2col:{cmd:color {space 6}tickline} {space 2}{it:{help colorstyle}}}
color of axis line{p_end}
{p2col:{cmd:linewidth {space 2}tickline} {space 2}{it:{help linewidthstyle:linewidth}}}
line thickness of axis line{p_end}
{p2col:{cmd:linepattern {space 0}tickline} {space 2}{it:{help linepatternstyle}}}
line pattern of axis line{p_end}
{p2col:{cmd:linestyle {space 2}axisline} {space 5}{it:{help linestyle}}}
overall {it:linestyle} for most axes{p_end}
{p2col:{cmd:linestyle {space 2}axis_withgrid} {space 0}{it:{help linestyle}}}
overall {it:linestyle} for axes that by default have a grid{p_end}
{p2line}
{title:Axis line extent}
{p2colset 4 41 44 0}
{p 3 3 2}
These entries control how the extent of axes interacts with the plot region's
margin.
{p2col:entry} description{p_end}
{p2line}
{p2col:{cmd:yesno extend_axes_low} {space 6}{{cmd:yes}|{cmd:no}}}
extend axis lines to the inner margin of the plot region ({cmd:yes})
or to the smallest major tick mark ({cmd:no}){p_end}
{p2col:{cmd:yesno extend_axes_high} {space 5}{{cmd:yes}|{cmd:no}}}
extend axis lines to the inner margin of the plot region ({cmd:yes})
or to the largest major tick mark ({cmd:no}){p_end}
{p2col:{cmd:yesno extend_axes_full_low} {space 1}{{cmd:yes}|{cmd:no}}}
extend axis lines through the plot region margin to the bounding box of
the plot region ({cmd:yes}) or to the smallest major tick mark
({cmd:no}){p_end}
{p2col:{cmd:yesno extend_axes_full_high} {space 0}{{cmd:yes}|{cmd:no}}}
extend axis lines through the plot region margin to the bounding box of
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -