This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

TableHeadings

TableHeadings
is an option for TableForm and MatrixForm which gives the labels to be printed for entries in each dimension of a table or matrix.
  • The labels can be strings or other Mathematica expressions. »
  • The labels are placed as headings for rows or columns.
Give explicit headings for rows and columns:
Specify headings only for rows:
Specify headings only for columns:
Give explicit headings for rows and columns:
In[1]:=
Click for copyable input
Out[1]//TableForm=
Specify headings only for rows:
In[2]:=
Click for copyable input
Out[2]//TableForm=
Specify headings only for columns:
In[3]:=
Click for copyable input
Out[3]//TableForm=
Use with MatrixForm:
Use automatically generated headings for rows and columns:
Use automatic headings only for rows:
Only for columns:
Specify Greek letters for row and column headings:
New in 2