# pltIViewControl CircleZoom

Zooms the plot to within the given dimensions.

## Syntax

hwIViewControl_handle
CircleZoom `min_x, min_y, max_x, max_y`

## Application

HyperWorks Tcl Query

## Description

This command zooms on the graph based on the given dimensions. It differs from ZoomIn or ZoomOut in that it zooms within the specified dimensions given by the user rather than a preset zoom. It also differs from Fit in that it zooms based on user-given dimensions rather than zooming to the curve’s dimensions.

## Inputs

`min_x`- The minimum value of x. This is the lowest value of x on the graph (the left-most value). This does not mean that the x axis will go down to this exact x value. It does, however, mean that the shown portion of the x-axis will not stop before this value.
`max_x`- The maximum value of x. This is the highest value of x on the graph (the right-most value). This does not mean that the x-axis will go up to this exact x value. It does, however, mean that the shown portion of the x-axis will not stop before this value.
`min_y`- The minimum value of y. This is the lowest value of y on the graph (the bottom-most value). This does not mean that the y value will go down to this exact y value. It does, however, mean that the shown portion of the y-axis will not stop before this value.
`max_y`- The maximum value of y. This is the highest value of y on the graph (the upper-most value). This does not mean that the y-axis will go up to this exact y value. It does, however, mean that the shown portion of the y-axis will not stop before this value.

## Example

```
hwi OpenStack;
hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;
w1 GetViewControlHandle vc;
vc CircleZoom 0 -5 6 5;
plot Draw
```

## Errors

If the `min_x, min_y, max_x, max_y` values are not all present, an error
message is displayed. If the values do not make a rectangle, the zoom will not occur.

## Keywords

HyperWorks

XY plot

Tcl

Modify