pltIViewControl FlipXY

Flips the positions of the x- and y-axis on the plot.

Syntax

hwIViewControl_handle FlipXY

Application

Tcl Modify

Description

This command flips the positions of the x- and y-axes on the plot. The x-axis switches to where the y was before the switch and the y-axis switches to where the y-axis was before the switch. This causes the curve to look like it has rotated.

Example

hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;
w1 GetViewControlHandle vc;
vc FlipXY;

Error

Returns success (0) or an error code.

Keywords

XY plot

Tcl

Modify