Intensity Graph

The Intensity Graph displays a 2D array as an image. A color map assigns a color to the value of each array element. For example, it could be used to display a video image, temperature pattern or terrain in an intuitive fashion. The input data must be a numeric 1D array with elements typed byte, short, int, long or double, in which the data is arranged row by row so it can be converted to a 2D array. For example, for 2D data with N rows by M columns, the input data should like this:

InputData = P11, P12,...P1M, P21, P22, ... P2M, ... PN1, PN2, ...PNM

The resulting image will display the array elements as follows:

P11, P12, ... P1M
P21, P22, ... P2M
     ...
PN1, PN2, ... PNM

The widget can also output profile data of the image to PVs.

Operations

Drag a rectangle on the graph will zoom in to the rectangle. Double click will return to unzoomed state.

Special Properties

Graph properties

Axis Properties

The property id for axis has a prefix of x_axis_ or y_axis_. For example, the property id of Axis Color property for X Axis (0) is x_axis_axis_color.

Special Methods

setValue method accepts 1D double array. Its getValue method returns double array.

See Also