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.
cpmColorSurfNoIpTransp Colored pixel plot; areas having values outside the range of the color scale are transparent. This mode is basically thought to support pixel images on top of a general background (which can be a photo, for example). The colors are taken from the property IsoColors. The color scale is determines by the properties IsoLow and IsoHigh.

Hint: In order to display 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: 2023-Dec-13