hwI2DViewControl Fit
Zooms into the dimensions of the curve in the plot.
Syntax
hwI2DViewControl_handle Fit
Application
HyperGraph Tcl Modify
Description
This command zooms into or out of the graph based on the dimensions of the curve in the plot. It differs from ZoomIn or ZoomOut in that it zooms to the curve’s dimensions rather than a preset zoom. It also differs from CircleZoom in the fact that it zooms to the curve’s dimensions rather than the given dimensions.
Example
hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;
w1 GetClientHandle plot;
w1 GetViewControlHandle vc;
vc Fit;
plot Draw;
Error
Returns success (0) or an error code.
Keywords
HyperWorks
XY plot
Tcl
Modify