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



PlotMode


Unit: SDL_rchart
Class: TContourPlot
Declaration: property PlotMode: TContourPlotMode;

The PlotMode property controls how the contour plot is generated:

PlotMode Description
cpmDots Isohypses consisting of colored dots (simulating a contour line); the colors are taken from the property IsoColors. The properties IsoLow, IsoHigh, and IsoDist control the first and the last line, and the distance between lines, respectively.
cpmMonoDots Isohypses consisting of black dots. The properties IsoLow, IsoHigh, and IsoDist control the first and the last line, and the distance between lines, respectively.
cpmColorSurface Colored surface plot; the colors are taken from the property IsoColors. The color scale is determines by the properties IsoLow and IsoHigh.
cpmColorSurfNoIp Colored surface plot without interpolation; this mode is basically thought to support "pixel" images in order to be able to display raw data at their original resolution. The colors are taken from the property IsoColors. The color scale is determines by the properties IsoLow and IsoHigh.

Hint: In order to display pixel images which show the actual pixels of an image (represented by the cells of a matrix) you have to set the properties NumPivotsX and NumPivotsY to the number of columns and rows of the data matrix.

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



Last Update: 2012-Oct-20