NCL Home> Application examples> Plot techniques || Data files for examples

Tables

NCL version 4.3.0 or later had basic table capability added to it, via the gsn_table procedure.
table_1.ncl: Example of a simple table using gsn_table. This table has 4 rows and 3 columns. No resources are set in the first frame, and then the second frame sets txJust to control the justification of the text (the default is "CenterCenter").

table_2.ncl: This table is actually made up of three separate tables. It is a duplicate of the one found on the taylor applications page.

The gsFillColor resource is used to fill the grid cells. In order to get a different fill color for various cells, this resource is set to an array of the same size as the text strings, and given a fill color for every cell.

table_3.ncl: Demonstrates using a variety of resources to customize tables, like gsLineThicknessF, gsFillIndex, txFontColor, txFontHeightF, and txAngleF.