pltIViewControl SwapComplexPlots

Swaps the position of the two axes positions in complex plots.

Syntax

hwIViewControl_handle SwapComplexPlots

Application

Tcl Modify

Description

This command swaps the positions of the two axes plot in the complex plots chart. It swaps the positions of the real and imaginary axes or the positions of the magnitude and phase axes, depending on which plot is being used. This differs from the SwitchComplexPlots function in that it merely swaps positions of the axes, rather than switching between the two different types of complex plots. This command will only work in complex plot mode.

Example

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

Errors

Returns success (0) or an error code.

Keywords

XY plot

Tcl

Modify