pltIPlot SetUniformAspectRatio

Sets the plot to use a uniform aspect ratio.

Syntax

pltIPlot_handle SetUniformAspectRatiotrue, false

Application

HyperWorks Tcl Modify

Description

Sets the plot to use a uniform aspect ratio.

Inputs

True
The plot uses a uniform aspect ratio.
False
The plot does not use a uniform aspect ratio.

Example

To force the current plot to draw with a uniform aspect ratio (i.e., equal width and height):
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName 1
myPageName GetWindowHandle myWindowName 1
myWindowName GetClientHandle myPlotName
myPlotName SetUniformAspectRatio true

Errors

Returns success or an error code.