DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


SetCenter

Declaration: TFrmRot3D.SetCenter (x, y: integer);
The method SetCenter controls the coordinates of the center of the data on the panel. The coordinates are specified in pixels and measured from the top left corner. Note that the center can be shifted also by means of the mouse if the property MouseAction is set to maPan. The following figure shows the effect of two different calls of SetCenter:

Please mind the difference between shifting the rotation origin and shifting the screen coordinates of the rotation origin.