poITensorCtrl SetTextColor

Sets the tensor plot text color.

Syntax

poITensorCtrl_handle SetTextColorcolor

Application

HyperView Tcl Modify

Description

This command sets the tensor plot text color.

Inputs

color
The tensor plot text color as an RGB value, color name, or color index.

Example

To set the color of the tensor plot text to red, then white, and then blue:
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetModelHandle model_handle [client_handle GetActiveModel]
model_handle GetResultCtrlHandle result_handle
result_handle GetTensorCtrlHandle tensor_handle
tensor_handle SetTextColor red
tensor_handle SetTextColor "255 255 255"
tensor_handle SetTextColor 4
hwi CloseStack

Errors

Returns 0 if successful, otherwise an error code.