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


Refresh

Declaration: TFrmPlots.Refresh: integer;
The method Refresh redraws the plot window using the currently set plot parameters. It returns the following error codes:
 0 ... everything is fine
-1 ... the x axis cannot be logarithmic
-2 ... the y axis cannot be logarithmic
-3 ... both the x and the y axes cannot be logarithmic
Please note that in the case of an error the properties PlotParams.LogScaleX and PlotParams.LogScaleY are updated to reflect the actual state of the particular axis (i.e. they are switched to FALSE).

Hint: Use the procedure RefreshWindows in order update all windows (not only the plots) at once.