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....



PivotResolution


Unit: SDL_rchart
Class: TContourPlot
Declaration: property PivotResolution: integer;

The PivotResolution controls the resolution of the rectangular grid which is used to construct the contour plot. The PivotResolution may take values between 10 and 2000 and specifes the number of pivot points along the longer axis of the plot. The number of pivot points along the shorter axis is adjusted in proportion.

The following figure shows the pivot points on top of a colored contour surface. The PivotResolution has been set to 20. Thus the x-axis (the longer axis) is divided into 20 sections (21 pivot points), the y-axis is divided into a number of sections which results in approximately quadratic pivot elements.

Hint: Please note that the time to calculate a contour plot is roughly proportional to the square of the PivotResolution. For example, changing the resolution from 10 to 500 approximately increases the calculation time by a factor of 2500 (but it also depends on the structure of the surface to be visualized).

Example: This method is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): contplot



Last Update: 2009-Nov-11