|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home ChartPack Plot3D Methods SetRange|
|See also: RangeXLow, RangeXHigh, RangeYHigh, RangeYLow, RangeZLow, RangeZHigh, Scales and Axes of 3D Surface Plots|
The method SetRange sets the extents of the 3D surface chart at once and redraws it using the new scaling. The parameters xLow, yLow, zLow, xHigh, yHigh, and zHigh specify the ranges of the x-, y- and the z-axis. This method is of importance for cases where the range of a chart should be adjusted dynamically (e.g. following the movement of a mouse) because of avoiding any unnecessary calculation of the scales.
If any of the axes has no extent (e.g. xLow =xHigh), the range of the axis is automatically set 0.5 of the mean.