ecl-logo Documentation

PlotTable

PlotTable[values]table

displays values in a grid table similar to TableForm.

PlotTable[objects,fields]table

creates a table containing the values of fields from objects.

Details

  • TableForm is represented strangely in Mathematica's Front End. To ease these troubles, PlotTable can be used.
  • PlotTable can take any Grid options as well as the options listed below.
  • Input
    Output
    Data Specifications Options
    Plot Labeling Options
    Plot Style Options
    Control Options
    Attributes
  • HoldRest
  • Messages
  • ColumnLabelMismatchColumn headings are not the proper length. Please make sure it matches the input length.
    FieldsPatternMismatchThe input fields are not a field name or a list of field names. Please make sure they are correct field names.
    RowLabelMismatchRow headings are not the proper length. Please make sure it matches the input length.
    SecondaryLabelMismatchThe number of secondary headers (`1`) cannot be evenly divided over the number of `2` in the table (`3`). Spanning of secondary headers for `2` have been adjusted. Please modify your SecondaryTableHeadings option if you would specify a different spanning.
    SecondaryLabelsSpanningThe number cells to span (`1`) does not match the number of `2` in the table (`3`). Secondary headers for `2` have been omitted. Please modify your SecondaryTableHeadings option if you would like to include these headers.
    TooManySecondaryLabelsThe number of secondary headers (`1`) exceeds the number of `2` in the table (`3`). Secondary headers for `2` have been omitted. Please modify your SecondaryTableHeadings option if you would like to include these headers.

Examples

Basic Examples  (4)

Create a table containing information about the samples from a protocol:

Create a table containing fields from sample packets:

Table of numbers:

Table a ragged array:

Additional Examples  (2)

Display some fields from a single object:

Display one field from several objects:

Options  (38)

Alignment  (1)

Specify alignment of rows and columns:

AllowedDimensions  (1)

Restrictions on number of rows or columns:

AutoDelete  (1)

Whether to remove the grid structure if only one item remains:

Background  (1)

Background specifies the background of the table:

BaselinePosition  (1)

What to align with a surrounding text baseline:

BaseStyle  (1)

Base style specifications for the grid:

Caption  (1)

Specify a caption to dipslay below the table:

DefaultElement  (1)

What element to insert in an empty item:

Dividers  (3)

Specify where to draw borders between cells in the grid:

Independently format each border in the grid:

Specify dividers between rows and columns:

Frame  (1)

Format the outermost border:

FrameStyle  (1)

Apply global formatting to all borders in the grid:

HeaderTextAlignment  (1)

Align the text of a header to the right:

HorizontalScrollBar  (2)

Specify that the table should have a horizontal scroll bar:

Specify that the table should not have a horizontal scroll bar:

ItemSize  (1)

Width and height of each item:

ItemStyle  (2)

Style individual elements in the grid:

Pass other Grid options to PlotTable:

Round  (1)

Round will automatically round any numbers in the input data:

SecondaryTableHeadings  (6)

Specify secondary row and column headings:

Specify only secondary row headings:

Specify only secondary column headings:

Specify secondary row and column headings:

Specify secondary row and column headings that span multiple cells:

Specify secondary row and column headings that span a specified number of cells:

Spacings  (1)

Specify spacings between rows and columns:

TableHeadings  (8)

Specify row and column headings:

Specify only row headings:

Specify only column headings:

Specify row and column headings:

Automatic row and column headings will default to the objects and fields when plotting objects:

Automatic row and column headings will default to no headers when plotting non-objects:

If TableHeadings is specified as None for the rows, no row heading cells are displayed:

If TableHeadings is specified as None for the columns, no column heading cells are displayed:

Title  (1)

Specify a title to dipslay above the table:

Tooltips  (1)

Turn off the tooltip buttons that appear when hovering over each cell:

UnitForm  (1)

UnitForm will automatically UnitForm any Units in the input data:

Attributes  (1)

HoldRest  (1)

The subsequent arguments will be passed unevaluated:

Messages  (6)

ColumnLabelMismatch  (1)

Column labels have the wrong length:

FieldsPatternMismatch  (1)

Fields input should be correct field names:

RowLabelMismatch  (1)

Row labels have the wrong length:

SecondaryLabelMismatch  (1)

Secondary labels cannot be evenly divided over the number of cells:

SecondaryLabelsSpanning  (1)

Secondary labels have invalid spanning specifications:

TooManySecondaryLabels  (1)

Too many secondary labels are specified: