1. Home
  2. DPRINT procedure

DPRINT procedure

Creates a graphical display of data in a table (D.B. Baird & V.M. Cave).

Options

WINDOW = scalars  Window in which to draw the table; default 1
SCREEN = string token Whether to clear the screen before plotting the table, or to continue plotting on the old screen (clear, keep); default clear
ORIENTATION = string token The orientation of the A4-sized page (portrait, landscape); default port
ACROSS = factor The factor in a 2-way table to put across the columns of the table; default is the second factor in the table
MAXROWS = scalars  Maximum number of rows in the body of the table per page (i.e., excluding the header and footer); default 100
EQUALWIDTH = string token Whether or not the columns are of equal width (yes, no); default no constructs the column widths to fit the size of the contents
GRIDLINES = string tokens Where grid lines are drawn (all, header, footer, topbottom, rows, columns, box, none); default head, foot
FONT = text Font used to draw the table; default is that currently set with DFONT
TITLE = text Title for the table; default * i.e. none
TJUSTIFICAION = string token Position of the title (left, right, centre, center); default left
TSIZEMULTIPLIER = scalar Relative size of the title; default 1
TCOLOUR = scalar or text Font colour for the title; default ‘black’
TFONTSTYLE = string tokens Font style (bold, italic) for the title; default * uses plain text
FOOTNOTE = text Footnote for under the table; default * i.e. none
FNJUSTIFICATION = string token Position of the footnote (left, right, centre, center); default left
FNSIZEMULTIPLIER = scalar Relative size of the footnote; default 1
FNCOLOUR = scalar or text Font colour for the footnote; default ‘black’
FNFONTSTYLE = string tokens Font style (bold, italic) for the footnote; default * uses plain text
HBACKGROUND = scalar or text Background colour of the area containing the column headers; default ‘white’
FBACKGROUND = scalar or text Background colour of the area containing the footer; default ‘white’
USEPENS = string token Whether to use the current pen definitions for the grid lines (yes, no); default no
STRETCH = string token Whether to stretch the table to fill the A4-sized page (yes, no); default no
RLPRINT = string token What row labels to use for tables and matrices (labels, integers); default labels
PMARGIN = string token What table margins, if present, to include (full, columns, rows, none); default full
MARGINAME = text Heading for the row and column margins, if present; default ‘Margin’, unless the table was created by TABULATE where the summary type will be used
GAPTITLE = sscalar Multiplier for the size of the gap after the title; default 1
GAPHEADINGS = scalar Multiplier for the size of the gap after the column headings; default 1
GAPFOOTER = scalar Multiplier for the size of the gap before the footer; default 1
GAPNOTE = scalar Multiplier for the size of the gap before the footnote; default 1
GAPROWS = scalar Multiplier for the size of gaps between the rows of the table (including the footer); default 1
GAPCOLUMNS = scalar Multiplier for the size of gaps between the columns of the table; default 1

Parameters

STRUCTURE = data structures Scalars, variates, factors, texts, matrices and 1- or 2-way tables, providing the contents of the table
DECIMALS = scalars or variates Number of decimal places for numerical data in the body of the table (i.e., supplied by STRUCTURE); if unset or a missing value is supplied, the number of decimal places is determined automatically using the DECIMALS procedure
FREPRESENTATION = texts What to display for factors supplied by STRUCTURE (‘labels’, ‘levels’, ‘ordinals’); default ‘labe’
DREPRESENTATION = scalars, variates or texts Format to use for dates and times, stored in numerical data structures supplied by STRUCTURE; default *
JUSTIFICATION = texts How to position the contents within the columns in the body of the table (‘left’, ‘right’, ‘centre’, ‘center’); default ‘right’
MISSING = texts What to display for missing values within the columns of the table; default ”i.e., blank
COLOUR = scalars, variates or texts Font colour, used in the body of the table, for the columns of data supplied by STRUCTURE; default ‘black’
FONTSTYLE = texts or pointers Font style, used in the body of the table, for the columns of data supplied by STRUCTURE (‘bold’, ‘italic’); default * uses plain text
SIZEMULTIPLIER = scalar or variates Relative size of each column of data, supplied by STRUCTURE, in the body of the table; default 1
HEADING = texts Column headers, the string ‘&’ causes a heading to span from the previous column; default uses the identifier of any scalars, variates, factors, texts or 1-way tables, and the labels of the column factor of any 2-way tables
HJUSTIFICATION = texts Justification of each column header (‘left’, ‘right’, ‘centre’, ‘center’); default ‘right’
HSIZEMULTIPLIER = scalar or variates Relative size of each column header; default 1
HCOLOURS = scalar, variates or texts Font colour for each column header; default ‘black’
HFONTSTYLE = texts or pointers Font style (‘bold’, ‘italic’) for each column header; default * uses plain text
FOOTER = scalar, variates, texts or pointers Providing the data in the columns of the footer, to skip a column, use * or an empty text (”)
FEDICMALS = scalar or variates Number of decimal places for numerical data supplied by FOOTER; if unset or a missing value is supplied, the corresponding values of DECIMALS will be used
FDREPRESENTATION = scalar, variates or texts Format to use for dates and times (supplied in numerical data structures by FOOTER) in the footer of the table; default *
FJUSTIFICATION = texts  Justification of each column footer (‘left’, ‘right’, ‘centre’, ‘center’); default takes the corresponding settings of JUSTIFICATION
FCOLOUR = scalar, variates or texts Font colour for each column footer; default takes the settings from the corresponding values of COLOUR
FFONTSTYLE = texts or pointers Font style (‘bold’, ‘italic’) for each column footer; default * uses plain text
FSIZEMULTIPLIER = scalar or variates Relative size of each column footer; default 1

Description

DPRINT creates a graphical display of data in a table, so that you can create PDF reports that include graphs or add a table to a graph. The STRUCTURE parameter supplies a list of data structures from which the body of the table is formed. These data structures may be scalars, variates, factors, texts, matrices and 1- or 2-way tables. The plotted table is created by combining the data structures supplied by STRUCTURE horizontally (i.e., column-wise). For any matrix, an additional column is included labelling the rows of the matrix. For a table, if the first table listed prior to it in STRUCTURE does not share the same row factor, an additional column is included labelling the levels of the row factor. For both matrices and tables, this labelling is controlled by the RLPRINT option (see below).

The FOOTER parameter can be used to supply a list of data structures (either scalars, variates, texts or pointers) to create a footer for the table. Here, an item supplied by FOOTER provides the footer data for the corresponding data structure supplied by STRUCTURE. Thus, when a multi-column data structure has been provided by STRUCTURE (i.e., a matrix or a 2-way table), a pointer is required to add footer data into each of its columns. Columns in the body of the table can be skipped using either * or an empty text (”).

The TITLE option can supply a title for the table. By default, no title is displayed.

The FOOTNOTE option can supply a footnote, to be displayed under the table, can be supplied using. By default, no footnote is displayed.

For the default column headers for the table, DPRINT uses the identifier of any scalar, variate, factor, text or 1-way table, and the factor labels (or if not set, levels) of the column factor of any 2-way table. However, you can supply your own column headers using the HEADING parameter. This supplies a list of texts containing the headers for the columns created by the corresponding data structures supplied by STRUCTURE. Thus, for example, if a data structure provided by STRUCTURE forms three columns in the table, the corresponding text in the list supplied by HEADING should be of length three. Headers can be made to span multiple columns by using ‘&’. For example, if four single-column structures are provided by STRUCTURE, setting HEADING=’Column 1′,’Columns 2 to 4′,’&’,’&’ would cause the header ‘Columns 2 to 4’ to span across the 2nd, 3rd and 4th columns of the table. Whereas, if HEADING supplies two data structures, with the first creates a single column in the table and the second creating three columns, setting HEADING=’Single column’, !T(‘Three columns’,’&’,’&’) would result in a single header for the second structure supplied by STRUCTURE spanning across all three of its columns.

When STRUCTURE supplies a table with margins, by default all margins will be included in the plotted table. However, you can control which margins are included, by specifying the following settings of the PMARGIN option:
 
fullinclude all margins (the default); 
columnsinclude only margins over the column factor;
rowsinclude only margins over the row factor;
nonedo not include margins.
 
The MARGINNAME option can supply a text to provide a heading for the row and column margins. By default, ‘Margin’ is used unless the summary type of the table has been set by the TABULATE directive, in which case the summary type name will be used (e.g. Means, Totals, Sds etc.)
 
When STRUCTURE supplies a 2-way table, the default is to put the second factor across the columns of the plotted table. If you want the first factor to form the columns of the table, this factor should be specified using the ACCROSS option.
 
When STRUCTURE supplies a matrix or a table, an additional column is included by default to contain labels (see above). This labelling is controlled by the RLPRINT option. The default, RLPRINT=labels, prints the row labels of a matrix (or if row labels have not been defined, the row numbers) and the labels of the row factor of a table (or if factor labels have not been defined, the factor levels). Alternatively, setting option RLPRINT=integers prints the row numbers of a matrix and the levels of the row factor of a table. You can suppress the inclusion of these row label columns by setting option RLPRINT=*. The settings of parameters like DECIMALS, FREPRESENTATION and FOOTER need to contain an extra item to specify the setting for the row labels or factors.
 
DPRINT also has many other options and parameters to allow you to control the style and format of the table but, in most cases, these can be left at their default settings.
 
The GRIDLINES option controls where grid lines are drawn on the table with the following settings.
 
headeradds a horizontal grid line between the column headers and the body of the table.
footeradds a horizontal grid line between the body of the table and the footer.
topbottomadds a horizontal grid line both above and below the table contents (excluding the title).
rowsadds horizontal grid lines along the rows (including the column headers and the footer).
columnsadds vertical grid lines down the columns (including the column headers and the footer). Note that grid lines are not draws between columns with a spanning header.
boxadds grid lines to form a box surrounding the table contents (excluding the title),
allall grid lines above are added.
noneno grid lines are added (note this is ignored if there are any other settings given).
 
By default, header and footer grid lines are drawn. The pens used to draw the grid lines are as follows: header in pen 6, footer in pen 7, topbottom in pen 8, rows in pen 9, columns in pen 10, box in pen 8 (for horizontal lines) and pen 10 (for vertical lines). You can control the appearance of the grid lines (i.e., colour, thickness and line style) by modifying the pen settings prior to using DPRINT, and then setting option USEPENS=yes (see PEN for details).
 
The widths of the columns in the table are automatically sized according to their contents. However, if you want your table to have columns of equal width, you can set option EQUALWIDTH=yes. Note: occasionally (e.g. when using non-default fonts) you may find that the spacing between columns is inadequate. This can be addressed using the GAPCOLUMNS option (see below).
 
The font used to create the table can be set using the FONTS option by supplying a text containing the name of a font family (e.g. ‘Tahoma’). The default is to use the default graphics font (i.e., the default font set on the Fonts tab of the Options menu in the Graphics Viewer or by the DFONT directive).
 
The position, font size, font colour and font style of the title of the plotted table can be controlled using the TJUSTIFICATION, TSIZEMULTIPLIER, TCOLOUR and TFONTSTYLE options, respectively. The title can be left-justified by setting option TJUSTIFICATION to left (the default), right-justified by setting it to right, or centred by setting it to center or centre. The TSIZEMULTIPLIER option can modify the size of the title, by specifying a value by which the default size is to be multiplied; default 1. The TCOLOUR option defines the colour of the font used for the title. This can be set either to a text containing the name of one of Genstat’s pre-defined colours (see PEN for details), or to a scalar defining the colour using the RGB system; default ‘black’. The TFONTSTYLE option controls the style of the font used for the title, with settings bold and italic. The default * results in plain text. Analogously, the position, font size, font colour and font style of the table’s footnote can be controlled using the FNJUSTIFICATION, FNSIZEMULTIPLIER, FNCOLOUR and FNFONTSTYLE options, respectively.
 
The formatting of the contents in the body of the table is controlled using the parameters DECIMALS, FREPRESENTATION, DREPRESENTATION, JUSTIFICATION, COLOUR, FONTSTYLE and SIZEMULTIPLIER. These run in parallel to the STRUCTURE parameter. That is, each data structure (i.e., item) supplied by STRUCTURE is matched to the corresponding item supplied by these parameters. If too few items are supplied, they are recycled. Extra items are ignored. Furthermore, if a data structure supplied by STRUCTURE creates multiple columns in the table (as is the case for tables and matrices), then to format each of these columns differently, the length of the corresponding item supplied by these parameters must equal the number of columns that is created. If too few values are supplied, they are recycled, and any extra values are ignored. For example, if STRUCTURE supplies two data structures, where the first creates a single column in the table and the second creates three columns, to separately format all of the table’s columns, the parameters above must supply two items, the first of length one and the second of length three. When separate attributes are need for each individual column and the STRUCTURE generates several columns, a scalar setting will become a variate, a text will have several lines, and with the FONTSTYLE,FFONTSTYLE and FOOTER parameters a pointer should now be supplied.
 
The DECIMALS parameter controls the number of decimal places displayed for numerical data in the body of the table. If the same number of decimals is to be used for all numeric columns in the table, a single scalar may be supplied. Alternatively, to use a different number of decimals places, you can specify scalars for single-columned data structures and variates for multi-column data structures. If this is not set, or a missing value is supplied, the number of decimal places is determined automatically using the DECIMALS procedure.
 
The FREPRESENTATION parameter controls how factors in the table’s body are displayed. The default is to display the factor labels, if any, or otherwise the factor levels. Alternatively, FREPRESENTATION can supply texts to control whether labels (‘labels’), levels (‘levels’) or ordinal values (‘ordinals’) are displayed for each factor in the table.
 
The DREPRESENTATION parameter specifies how to display data in the body of the table that represent dates or times. The DECIMALS parameter is then ignored. DREPRESENTATION may supply scalars or variates, indicating predefined formats, or texts defining custom formats. For more details, see the PRINT directive. The default * means the column is not formatted as a date or time.
 
The JUSTIFICATION parameter controls the positioning of the contents of each column contents in the body of the table. It supplies texts to specify whether the column contents are right-justified (‘right’, the default), left-justified (‘left’), or centred (‘center’ or ‘centre’).
 
The COLOUR parameter controls the colour of the font in the body of the table. COLOUR may supply scalars or variates, defining the colours using the RGB system, or texts containing the names of Genstat’s pre-defined colours (see PEN for details). The default, ‘black’, uses the black font for all columns in the body of the table.
 
The FONTSTYLE parameter controls the style of the font in the body of the table. This can supply texts, or for multi-column structures, pointers to texts, containing the values ‘bold’, ‘italic’ or ” (for plain text). For example, if STRUCTURE supplies two data structures, where the first creates a single column in the table and the second creates three columns, to format the first column in italics, the second in bold, the third in bold italics, and the fourth in plain text, we would set:
 
FONTSTYLE=’italic’,!P(‘bold’,!T(‘italic’,’bold’),”)
 
The default FONTSTYLE=” uses plain text for all columns in the body of the table.
 
The SIZEMULTIPLIER parameter controls the relative size of the font in the body of the table. It specifies scalars for single-column structures, or variates for multi-column structures, defining the amount by which the default size is to be multiplied; default 1.
 
The HJUSTIFICATION, HSIZEMULTIPLIER, HCOLOUR and HFONTSTYLE parameters control the formatting of the column headers. They run in parallel to the STRUCTURE parameter. That is, each data structure (i.e., item) supplied by STRUCTURE is matched to the corresponding item supplied by these parameters.
 
The HJUSTIFICATION parameter controls the positioning of the column headers. It supplies texts to specify whether the column headers are right-justified (‘right’, the default), left-justified (‘left’), or centred (‘center’ or ‘centre’).
 
The HSIZEMULTIPLIER parameter controls the relative size of the font used for the column headers. It specifies scalars for single-column structures, or variates for multi-column structures, defining the amount by which the default size is to be multiplied; default 1.
 
The HCOLOUR parameter controls the colour of the font used for the column headers. It can supply scalars or variates, defining the colours using the RGB system, or texts containing the names of Genstat’s pre-defined colours (see PEN for details); default ‘black’.
 
The HFONTSTYLE parameter controls the style of the font used for the column headers. It can supply texts, or for multi-column structures, pointers to texts, containing the values ‘bold’, ‘italic’ or ” (for plain text); default is a null text i.e. ”
 
The parameters FDECIMALS, FDREPRESENTATION, FJUSTIFICATION, FCOLOUR, FFONTSTYLE and FSIZEMULTIPLIER control the formatting of the table’s footer. They run in parallel to the STRUCTURE parameter. That is, each data structure (i.e., item) supplied by STRUCTURE is matched to the corresponding item supplied by these parameters.
 
The FDECIMALS parameter controls the number of decimals places for numerical data in the footer. It specifies scalars for single-column structures,, or variates for multi-column structures. If it is not set or a missing value is supplied, the corresponding values set by DECIMALS are used.
 
The FDREPRESENTATION parameter specifies how to display data in the footer that represent dates or times. The FDECIMALS parameter is then ignored. FDREPRESENTATION may supply scalars or variates, indicating predefined formats, or texts defining custom formats. See the PRINT directive for more details. The default * means the column is not formatted as a date or time.
 
The FJUSTIFICATION parameter controls the positioning of each column’s contents in the footer of the table. It supplies texts specifying whether the contents of the columns in the footer are right-justified (‘right’), left-justified (‘left’), or centred (‘center’ or ‘centre’). By default, the corresponding values set by JUSTIFICATION are used.
 
The FCOLOUR parameter controls the colour of the font used in the footer of the table. It can supply scalars or variates, defining the colours using the RGB system, or texts containing the names of Genstat’s pre-defined colours (see PEN for details). By default, the corresponding values set by COLOUR are used.
 
The FFONTSTYLE parameter controls the style of the font used for the table footer. It can supply texts, or for multi-column structures, pointers to texts, containing the values ‘bold’, ‘italic’ or ” (for plain text); default ”.
 
The FSIZEMULTIPLIER parameter controls the relative size of the font used in the table footer. It specifies scalars for single-column structures, or variates for multi-column structures, defining the amount by which the default size is to be multiplied; default 1.
 
Background colours for the area in the table containing the column headers or the footer can be set using the HBACKGROUND and FBACKGROUND options, respectively. These can be set either to a text containing the name of one of Genstat’s pre-defined colours (see PEN for details), or to a scalar defining the colour using the RGB system; default ‘white’.
 
The MISSING parameter supplies a list of texts with which to represent missing values in the corresponding STRUCTURE. By default, missing values are represented by a blank entry (i.e., the empty text, ”).
 
The GAPTITLE, GAPHEADINGS, GAPFOOTER, GAPNOTE, GAPROWS and GAPCOLUMNS options control the size of the gap between various elements in the table by specifying a value by which the default gap size is to be adjusted; default 1. A value greater than one increases the size of the gap, whilst a value less than one reduces the size of the gap. GAPTITLE controls the size of the gap after the title of the table. GAPHEADINGS controls the size of the gap between the column headings and the body of the table. GAPFOOTER controls the size of the gap between the body of the table and the footer. GAPNOTE controls the size of the gap before the footnote. GAPROWS controls the size of the gaps between the rows in the table, including the footer. GAPCOLUMNS controls the size of the gaps between the columns of the table.
 
DPRINT forms a graphical table for an A4-sized page. The orientation of the A4 page is controlled using the ORIENTATION option. By default, the page orientation is portrait, but this can be changed to landscape. The table can also be stretched so that its columns fill the A4-sized page by setting option STRETCH=yes; default no (i.e., the table is not stretched). This stretching will normally be required when saving a single graph to a graphics image file (e.g. a PNG or JPG file), to remove white space around the graphical table.
 
When the number of rows in the table exceeds the space available on the A4-page, the table is split across multiple pages. Should you want fewer rows per page, you can use option MAXROWS to specify the maximum number of rows from the table’s body (i.e., excluding the header and footer) displayed on a single page.
 
Note, if the columns of the table do not fit across a single page, a fault is given, and no table is produced. However, you may be able to reformat the table so that all columns fit on a single page by setting ORIENTATION=landscape, reducing the size of the font using the SIZEMULTIPLIER and FSIZEMULTIPLIER parameters, reducing the size of the gap between columns using the GAPCOLUMNS option, providing shorter column headers using the HEADING option, or changing the format of the column contents (using the parameters
DECIMALS, FDECIMALS, FREPRESENTATION, DREPRESENTATION, and FREPRESENTATION.
 
The WINDOW option defines the window in which the table is drawn; by default this is window 1.You can set option SCREEN=keep to draw the table on an existing screen; by default the screen is cleared first.
 
 

Options: WINDOW, SCREEN, ORIENTATION, ACROSS MAXROWS, EQUALWIDTH, GRIDLINES, FONT, TITLE, TJUSTIFICATION, TSIZEMULTIPLIER, TCOLOUR TFONTSTYLE, FOOTNOTE, FNJUSTIFICATION, FNSIZEMULTIPLIER, FNCOLOUR, FNFONTSTYLE HBACKGROUND, FBACKGROUND, USEPENS, STRETCH, RLPRINT, PMARGIN, MARGINNAME, GAPTITLE GAPHEADINGS, GAPFOOTER, GAPNOTE, GAPROWS, GAPCOLUMNS

Parameters: STRUCTURE, DECIMALS, FREPRESENTATION, DREPRESENTATION JUSTIFICATION, MISSING, COLOUR, FONTSTYLE, SIZEMULTIPLIER, HEADINGS, HJUSTIFICATION, HSIZEMULTIPLIER HCOLOUR, HFONTSTYLE, FOOTER, FDECIMALS, FDREPRESENTATION, JUSTIFICATION FCOLOUR, FFONTSTYLE, FSIZEMULTIPLIER

Action with RESTRICT

DPRINT will work with restricted data structures. However, if more than one data structure in STRUCTURE is restricted, they must all be restricted in the same way.

See also

Directives: DFONT, PEN, PRINT, TABULATE

Procedures: DECIMALS 

Example

CAPTION  'DPRINT Examples'

"Summary table of Fisher Iris data"
SPLOAD        [PRINT=c] '%Data%/Iris.gsh'; ISAVE=pData
POINTER       [VALUES=pData[1...4]] Data
TABULATE      [CLASS=Species; MARGINS=yes] Data[]; MEANS=Tables[1...4] 
TXCONST       [Vars] Data "Get columns naes in a text"
TXREPLACE     [NTIMES=-1] Vars; OLDS='_'; NEWS=' ' "Change _ to space in names"
TEXT          Head[1...4]; VALUES=Vars$[1...4] 
TEXT          [VALUES=Species,#Head[1]] Head[1] "Add factor name to first table" 
DPRINT        [TITLE='Fisher Iris data summary by species'; MARGINNAME='Overall']\
          Tables[]; HEADING=Head[]; JUST=!T(left,right),3('right');\
          HJUST='centre'

"Add correlations to previous table"
CORRELATE     [PRINT=*; CORRELATIONS=Corr] Data[] 
FRAME          4; XLOWER=0; XUPPER=1; YLOWER=0; YUPPER=1.1 
DPRINT        [W=4; SCREEN=keep; TITLE='Correlations between variates'; GAPROW=1.5]\Corr; DECI=2


"Put table in a graph"
FACGETLABELS Species; LABELS=Sp
YAXIS         1; TITLE='Sepal length'
XAXIS         1; TITLE='Sepal width' 
PEN           1...3; SYMBOL='circle','square','triangle'; \
          COLOUR='red','blue','green'; CFILL='match'
FRAME         1; XUPPER=0.9; XMLOWER=0.09; YMLOWER=0.08 
FRAME         4; XLOWER=0.5; XUPPER=1; YLOWER=0; YUPPER=0.27 
DSTART         
DGRAPH        [WIN=1; TITLE='Sepal length vs width by species'] \
          Sepal_Length; Sepal_Width; PEN=Species; DESC=Sp 
DPRINT        [WIN=4; SCREEN=keep; PMARGIN=*; GAPCOLUMN=1.5] Tables[1,2]; DECI=2;\
          HEADING=Head[1,2]; JUST=!T(left,right),'right'; HJUST='centre' 
DFINISH     

"Results table from analysis of seasonal ryegrass yields"
TEXT Variety; VALUES=!T('Frenzy NEA','Shogun NEA','Tabu+ WE','Supercruise WE',\
     'Asset AR37','Lush AR37','Vibe WE','Feast II WE','Asset WE','Blade WE',\
     'Presto WE','Moata WE')
GROUP Variety; FACTOR=Entry
FACTOR        [LABELS=!T('Mean','LSI')] Statistic
TABLE         [CLASS=Entry; VALUES=4,16,6,11,26,13,10,36,13,10,10,24] NTrials
TABLE         [CLASSIFICATION=Entry,Statistic] Autumn; VALUES=!(109.0,8.7,93.2,4.5,\
      105.2,6.7,105.9,5.2,98.9,3.5,106.7,4.7,102.7,5.5,98.7,2.8,93.4,4.8,\
      104.4,5.3,97.1,5.5,84.9,3.6)
TABLE         [CLASSIFICATION=Entry,Statistic] Winter; VALUES=!(105.7,7.0,99.7,3.6,\
      109.9,5.3,106.6,4.1,101.5,2.8,102.3,3.7,100.1,4.4,98.8,2.2,94.8,3.8,\
      99.1,4.2,92.5,4.4,89.1,2.9)
TABLE         [CLASSIFICATION=Entry,Statistic] Spring; VALUES=!(104.2,6.0,106.3,3.1,\
      104.7,4.6,97.1,3.6,98.0,2.4,96.6,3.2,96.6,3.8,99.6,1.9,97.5,3.3,\
      101.5,3.7,101.0,3.8,96.9,2.5)
TABLE         [CLASSIFICATION=Entry,Statistic] Summer; VALUES=!(130.1,10.6,115.1,5.4,\
      106.6,8.1,99.3,6.2,108.1,4.3,105.9,5.7,97.6,6.6,96.2,3.4,99.0,5.8,\
      90.1,6.4,88.5,6.6,63.6,4.3)
TABLE         [CLASSIFICATION=Entry,Statistic] Total; VALUES=!(113.9,5.1,107.1,2.6,\
      105.7,3.9,101.4,3.0,101.4,2.1,100.6,2.7,98.9,3.2,98.2,1.6,97.4,2.8,\
      97.0,3.1,95.0,3.2,83.3,2.1)

DPRINT [ORIENTATION=landscape; GAPCOL=1.1; TJUST=centre; \
  GRIDLINES=col,topbottom,header,footer; HBACK='Gainsboro'; FBACK='Gainsboro';\
  TFONTSTYLE=bold; FNFONTSTYLE=italic; FNSIZE=0.8; \
  TITLE='NZ Italian Ryegrass (yields by season as percentage of mean and LSI)';\
  FOOTNOTE='When two means differ by more than the sum of their least\
 significant intervals they are significantly different at the 5% level.'] \
  NTrials,Autumn,Winter,Spring,Summer,Total; DECIMALS=0,5(1); \
  JUSTIFICATION=!T('left','right'),5('right'); \
  HEADING=!T('Entry','Trials'),!T('Autumn','&'),!T('Winter','&'),\
  !T('Spring','&'),!T('Summer','&'),!T('Total','&'); HJUSTIFICATION='centre';\
  FOOTER=!P('Mean (kg DM/ha)',86),!P(1673,''),!P(3814,''),!P(5023,''),\
  !P(3880,''),!P(14450,''); FDECIMALS=0


Updated on April 15, 2024

Was this article helpful?