pltIViewControl SwitchComplexPlots

Switches between the Real/Imaginary and Magnitude/Phase Complex plots.

Syntax

hwIViewControl_handle SwitchComplexPlots

Application

HyperWorks Tcl Modify

Description

This command switches between the Real/Imaginary and Magnitude/Phase Complex plots. This differs from the SwapComplexPlots function in that it switches between the two different types of plot, rather than switching the position of the complex plot’s axes. This command will only work if in complex plot mode.

Example

hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;
w1 GetClientHandle plot;;
w1 GetViewControlHandle vc;
vc SwitchComplexPlots;
plot Draw;

Errors

Returns success (0) or an error code.

Keywords

HyperWorks

XY plot

Tcl

Modify