pltIViewControl FitX

Zooms into the x dimensions of the curve in the plot.

Syntax

hwIViewControl_handle FitX

Application

Tcl Modify

Description

This command zooms into or out of the graph based on the x dimensions of the curve in the plot. It differs from Fit in that it fits only to the x dimensions rather than both the x and y dimensions.

Example

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

Errors

Returns success (0) or an error code.

Keywords

XY plot

Tcl

Modify