📄 matlist.hlp
字号:
{smcl}
{* 09feb2005}{...}
{cmd:help matlist}
{hline}
{title:Title}
{p2colset 5 20 22 2}{...}
{p2col :{hi:[P] matlist} {hline 2}}Display a matrix and control its format{p_end}
{p2colreset}{...}
{title:Syntax}
One common display format for every column
{p 8 16 2}{cmd:matlist} {it:matrix_exp}
[{cmd:,} {it:{help matlist##style_options:style_options}}
{it:{help matlist##general_options:general_options}}]
Each column with its own display format
{p 8 16 2}{cmd:matlist} {it:matrix_exp} {cmd:,}
{opt csp:ec(cspec)} {opt rsp:ec(rspec)}
[{it:{help matlist##general_options:general_options}}]
{p2colset 5 26 28 2}{...}
{p2col:{marker style_options}{it:style_options}}description{p_end}
{p2line}
{p2col:{opth lin:es(matlist##lstyle:lstyle)}}lines style; default between
headers/labels and data{p_end}
{p2col:{opth bor:der(matlist##bspec:bspec)}}border style; default none{p_end}
{p2col:{opt bor:der}}same as {cmd:border(all)}{p_end}
{p2col:{opth for:mat(%fmt)}}display format; default is {cmd:format(%9.0g)}{p_end}
{p2col:{opt tw:idth(#)}}row label width; default is {cmd:twidth(12)}{p_end}
{p2col:{opt left(#)}}left indent for tables; default is {cmd:left(0)}{p_end}
{p2col:{opt right(#)}}right indent for tables; default is {cmd:right(0)}{p_end}
{p2line}
{p2col:{marker lstyle}{it:lstyle}}lines are drawn ...{p_end}
{p2line}
{p2col:{opt o:neline}}between headers/labels and data; default with no
equations{p_end}
{p2col:{opt eq}}between equations; default when equations present{p_end}
{p2col:{opt rowt:otal}}same as {cmd:oneline} plus line before last row{p_end}
{p2col:{opt colt:otal}}same as {cmd:oneline} plus line before last column{p_end}
{p2col:{opt rct:otal}}same as {cmd:oneline} plus line before last row and column{p_end}
{p2col:{opt r:ows}}between all rows; between row labels and data{p_end}
{p2col:{opt co:lumns}}between all columns; between col. header and data{p_end}
{p2col:{opt ce:lls}}between all rows and columns{p_end}
{p2col:{opt n:one}}suppress all lines{p_end}
{p2line}
{p2col:{marker bspec}{it:bspec}}border lines are drawn ...{p_end}
{p2line}
{p2col:{opt n:one}}no border lines are drawn; the default{p_end}
{p2col:{opt all}}around all four sides{p_end}
{p2col:{opt row:s}}at the top and bottom{p_end}
{p2col:{opt col:umns}}at the left and right{p_end}
{p2col:{opt l:eft}}at the left{p_end}
{p2col:{opt r:ight}}at the right{p_end}
{p2col:{opt t:op}}at the top{p_end}
{p2col:{opt b:ottom}}at the bottom{p_end}
{p2line}
{p2col:{marker general_options}{it:general_options}}description{p_end}
{p2line}
{p2col:{opt tit:le(string)}}title displayed above table{p_end}
{p2col:{opt tind:ent(#)}}indent for title{p_end}
{p2col:{opt row:title(string)}}title to display above row names{p_end}
{p2col:{cmdab:nam:es:(}{cmdab:r:ows}{cmd:)}}display row names{p_end}
{p2col:{cmdab:nam:es:(}{cmdab:c:olumns}{cmd:)}}display column names{p_end}
{p2col:{cmdab:nam:es:(}{cmdab:a:ll}{cmd:)}}display row and column names; the
default{p_end}
{p2col:{cmdab:nam:es:(}{cmdab:n:one}{cmd:)}}suppress row and column names{p_end}
{p2col:{opt nonam:es}}same as {cmd:names(none)}{p_end}
{p2col:{opth showcoleq:(matlist##ceq:ceq)}}specify how column equation names
are displayed{p_end}
{p2col:{cmd:colorcoleq(}{cmdab:t:xt}|{cmdab:r:es}{cmd:)}}display mode (color)
for column equation names; default is {cmd:txt}{p_end}
{p2col:{cmd:keepcoleq}}keep columns of the same equation together{p_end}
{p2col:{cmd:aligncolnames(}{cmdab:r:align}|{cmdab:l:align}|{cmdab:c:enter}{cmd:)}}alignment of column names{p_end}
{p2col:{opt nob:lank}}suppress blank line before tables{p_end}
{p2col:{opt noha:lf}}display full matrix even if symmetric{p_end}
{p2col:{opt nodotz}}display missing value {cmd:.z} as blank{p_end}
{p2col:{opt under:score}}display underscores as blanks in row/column names{p_end}
{p2col:{opt linesize(#)}}overrule {cmd:linesize} setting{p_end}
{p2line}
{p2col:{marker ceq}{it:ceq}}equation names are displayed{p_end}
{p2line}
{p2col:{opt f:irst}}over the first column only; the default{p_end}
{p2col:{opt e:ach}}over each column{p_end}
{p2col:{opt c:ombined}}centered over all associated columns{p_end}
{p2col:{opt l:combined}}left aligned over all associated columns{p_end}
{p2col:{opt r:combined}}right aligned over all associated columns{p_end}
{p2line}
{title:Description}
{pstd}
{cmd:matlist} displays a matrix, allowing you to control the display format.
Row and column names are used as the row and column headers. Equation names
are displayed in a manner similar to estimation results.
{pstd}
Columns may have different formats, and lines may be shown between each of the
columns. You cannot format rows of the matrix differently.
{pstd}
{cmd:matlist} is an extension of the {helpb matrix list} command.
{title:Style options}
{phang}
{opt lines(lstyle)}
specifies where lines are drawn in the display of {it:matrix_exp}. The
following values of {it:lstyle} are allowed:
{phang2}{opt oneline}
draws lines separating the row and column headers from the numerical entries.
This is the default if the {it:matrix_exp} has no equation names.
{phang2}{opt eq}
draws horizontal and vertical lines between equations.
This is the default if the {it:matrix_exp} has row or column equation names.
{phang2}{opt rowtotal}
is the same as {cmd:oneline} and has a line separating the last
row (the totals) from the rest.
{phang2}{opt coltotal}
is the same as {cmd:oneline} and has a line separating the last
column (the totals) from the rest.
{phang2}{opt rctotal}
is the same as {cmd:oneline} and has lines separating the last
row and column (the totals) from the rest.
{phang2}{opt rows}
draws horizontal lines between all rows and one vertical line between the
row-label column and the first column with numerical entries.
{phang2}{opt columns}
draws vertical lines between all columns and one horizontal line between the
headers and the first numeric row.
{phang2}{opt cells}
draws horizontal and vertical lines between all rows and columns.
{phang2}{opt none} suppresses all horizontal and vertical lines.
{phang}{cmd:border}[{cmd:(}{it:bspec}{cmd:)}]
specifies the type of border drawn around the table. {it:bspec} is any
combination of the following values:
{space 12}{opt none} {space 4} draws no outside border lines; the default
{space 12}{opt all} {space 5} draws all four outside border lines
{space 12}{opt rows} {space 4} draws horizontal lines in the top and bottom margins
{space 12}{opt columns} {space 1} draws vertical lines in the left and right margins
{space 12}{opt left} {space 4} draws a line in the left margin
{space 12}{opt right} {space 3} draws a line in the right margin
{space 12}{opt top} {space 5} draws a line in the top margin
{space 12}{opt bottom} {space 2} draws a line in the bottom margin
{pmore}
{cmd:border} without an argument is equivalent to {cmd:border(all)}, or
equivalently, {cmd:border(left right top bottom)}.
{phang}{opth format(%fmt)}
specifies the format for displaying the individual elements of the
matrix. The default is {cmd:format(%9.0g)}.
{phang}{opt twidth(#)}
specifies the width of the row-label column (first column). The default is
{cmd:twidth(12)}.
{phang}{opt left(#)}
specifies that the table be indented {it:#} spaces; the default is
{cmd:left(0)}. To indent the title, see option {opt tindent()}.
{phang}{opt right(#)}
specifies that the right margin of the table be {it:#} spaces in
from the page margin. The default is {cmd:right(0)}. The right margin
effects the number of columns that are displayed before wrapping.
{title:General options}
{phang}{opt title(string)}
adds {it:string} as the title displayed before the matrix.
{cmd:matlist} has no default title or header.
{phang}{opt tindent(#)}
specifies the indentation for the title; the default is {cmd:tindent(0)}.
{phang}{opt rowtitle(string)}
specifies that {it:string} be used as a column header for the row labels.
This option is only allowed when both row and column labels are displayed.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -