pltIStatisticsTemplate SetText

Sets the text within a statistics template.

Syntax

pltIStatisticsTemplate_handle SetText text

Application

Tcl Modify

Description

This command sets the text within a statistics template. A statistics template has text within it, telling it what statistics to calculate and return. The SetText function sets what you want this text to be.

Inputs

text
The text that you want the statistics template to have within it. If there are spaces within the text, you must input the text within quotes, “”, or curly braces, {}.

Example

hwi GetSessionHandle sess;
sess GetClientManagerHandle pm Plot;
pm GetStatisticsTemplateHandle st 2;
st SetText "Length     : {curvelength(x,y), %-10.3f}";

Errors

Success (0) or an error message is returned.

Keywords

Tcl

Statistics

Template

Modify