DADiSP Worksheet Functions > Function Categories > Display and Manipulation > SETCOLHEADER

 

SETCOLHEADER

Purpose:

Sets the text of a column header in a Window.

Syntax:

SETCOLHEADER(win, "text", colnum)

win

-

Optional. Window reference. Defaults to the current Window.

"text"

-

A string, the column header text.

column

-

An integer, the number of the column to set.

Example:

setcolheader("My Data", 2)

 

sets the column header of the 2nd column in the current Window to "My Data".

Example:

setcolheader("Header 2", "Header 4", "Header 7", 2, 4, 7)

 

sets the column headers of the of the 2nd , 4th, and 7th columns in the current Window.

Example:

setcolheader(W1, "x^2", "y^2", "R_0 + eta")

 

sets the column headers of the first three columns of W1 using TeX formatting.

Remarks:

The column header can also be set by left clicking the header when the Window is displayed in TABLEVIEW.

See Also:

LABEL

SERCOLOR

WINCOLOR