plt3DIPlot SetAxesScaleMethod
Returns the current axes scaling method.
Syntax
plt3DIPlot_handle SetAxesScaleMethod method
Application
HyperWorks Tcl Query
Description
The aspect ratios of the axes can be set explicitly. The X axis is assumed always to have a length of one, with Y and Z axes having individual values associated with them to define the ratios. Once set, the ratios can be frozen by calling SetAspectRatioLocked. If not locked, the ratios may be changed by manipulations of the GUI.
Inputs
- method
-
- byviewport
- Stretches the axes to maximize the window area.
- byrange
- Displays units as the same length along each axis.
- none
- Displays the axes as a cubical box.
Example
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName [myProjectName GetActivePage]
myPageName GetWindowHandle myWindowName [myPageName GetActiveWindow]
myWindowName GetClientHandle myPlotName
myPlotName SetAxesScaleMethod byviewport
Errors
Success (0) or an error code.