plt3DICurveGroup SetDisplayInLegend

Sets whether or not the curve is displayed in the legend.

Syntax

plt3DICurveGroup_handle SetDisplayInLegend state

Application

Tcl Query

Description

Sets whether or not the curve is displayed in the legend.

Inputs

state
True
The legend is displayed.
False
The legend is not displayed.

Example

hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName [myProjectName GetActivePage]
myPageName GetWindowHandle myWindowName [myPageName GetActiveWindow]
myWindowName GetClientHandle myPlotName
myPlotName GetCurveGroupHandle myGroupName [myPlotName AddCurveGroup]
myGroupName GetCurveHandle myCurveName [myGroupName AddCurve]
myCurveName GetDataSourceHandle myXName x
myCurveName GetDataSourceHandle myYName y
myCurveName GetDataSourceHandle myZName z
myCurveName GetDataSourceHandle myUName u
myXName SetType math
myYName SetType math
myZName SetType math
myUName SetType math
myXName SetExpression {sin(2*u)*(10.0 + 6*cos(3*u))}
myYName SetExpression {cos(2*u)*(10.0 + 6*cos(3*u))}
myZName SetExpression {6*sin(3*u)}
myUName SetExpression {0:(2*PI):(PI/50)}
myPlotName Recalculate
myPlotName Autoscale
myPlotName Draw
myGroupName SetColor {35 85 199}
myGroupName SetColor blue
myGroupName SetColor 22

Errors

Success (0) or an error code.