GINO Graphics Suite - GINOGRAF v9.5  

ggDisplayStringColumn

Syntax

[C/C++:]
void ggDisplayStringColumn(float x, float y, int nstr, char *string[ ], char header[ ]);
[F90:]
subroutine ggDisplayStringColumn(x, y, nstr, string, header)

real, intent(in) :: x, y
integer, intent(in) :: nstr
character*(*), intent(in) :: string(*), header

Arguments

x
X coordinate of the top left hand corner of the column in the current units (default units are millimetres)

y
Y coordinate of the top left hand corner of the column in the current units

nstr
The number of strings in the column

string
Array of character strings to be output

header
Column header

Description

The routine ggDisplayStringColumn() output a set of character strings in an optionally headed column with its top left corner positioned at x,y in user space coordinates. The column is divided into nstr or nstr+1 cells (depending on the header switch) into which the strings are placed according to the current Text Chart justification as set by ggSetTextChartAttribs(). A column frame is also drawn using the Text Chart frame colour index also set by ggSetTextChartAttribs().

The string header is output in an additional header cell if headers are switched on in the previous call to ggSetTextChartAttribs(). If displayed, the string is output centrally in the cell using the current GINO text and line attributes.

See Also

ggDisplayStringColumn Usage
ggSetTextChartAttribs