Element: InterpolatedPlot.
Icon:
Text: An interpolated visualization of a scalar field in Z.
Description: An InterpolatedPlot is similar to a GridPlot but with the colors interpolated for each pixel, this makes the borders of the grid smoother.
Thus, it is a drawing element that visualizes a real scalar field defined in a rectangular area of the plane. For this purpose, the element divides the rectangle using a grid and associates to each of its cells one of several possible colors (interpolating for each pixel), depending on the value of the field in the cell and on the selected color scheme. The element automatically translates the values of the field (between a minimum and a maximum) into colors of a scale.
Table of properties |
||
Name | Description | Values accepted |
Configuration | ||
Minimum X | The minimum value in the X axis of the rectangular area of the plane displayed. | Any constant or variable of type double or int. |
Maximum X | The maximum value in the X axis of the rectangular area of the plane displayed. | Any constant or variable of type double or int. |
Minimum Y | The minimum value in the Y axis of the rectangular area of the plane displayed. | Any constant or variable of type double or int. |
Maximum Y | The maximum value in the Y axis of the rectangular area of the plane displayed. | Any constant or variable of type double or int. |
Z | The array of real values for the field in each cell. | A two-dimensional array [m][n] of type double, where m and n indicate the number of cells in the X and Y axes, respectively. |
Autoscale Z | Whether to automatically compute the extrema of the displayed Z values. | A boolean variable or one of the constants true or false. |
Minimum Z | The smallest value in Z that will be translated into a color in the scale (Autoscale Z must be false). | Any constant or variable of type double or int. |
Maximum Z | The largest value in Z that will be translated into a color in the scale (Autoscale Z must be false). | Any constant or variable of type double or int. |
Graphical Aspect | ||
Levels | Number of different levels to distinguish in the range [Minimum Z, Maximum Z]. | Any constant or variable of type int. |
Color Mode | The scheme used to assign a color to each of the values of the field. | One of the following constants, corresponding to a different preset color scheme.
It is also possible to provide a one-dimensional array of type Object with the palette of colors to use. Each element of this array must be an object of the class java.awt.Color. Levels will automatically take the value of the length of this array. |
Floor Color | The color to assign to values below Minimum Z. | See the values for the Grid Color property. |
Ceil Color | The color to assign to values above Maximum Z. | See the values for the Grid Color property. |
Show Grid | Whether to draw the grid itself. | A boolean variable or one of the constants true or false. |
Grid Color | The color used to draw the grid. | An Object variable of the class java.awt.Color
or one of the predefined colors: black,
blue, cyan, darkGray, gray, green, lightGray, magenta, orange, pink,
red, white, yellow.
A color can also be specified providing its integer RGB coordinates (between 0 and 255), plus an optional transparency coordinate. The default value is decided by the system. |
Visible | The visibility of the element. | A boolean variable or one of the constants true or false. |