Function Reference
— Function File: image (img)
— Function File: image (x, y, img)

Display a matrix as a color image. The elements of x are indices into the current colormap, and the colormap will be scaled so that the extremes of x are mapped to the extremes of teh colormap.

It first tries to use gnuplot, then display from ImageMagick, then xv, and then xloadimage. The actual program used can be changed using the image_viewer function.

The axis values corresponding to the matrix elements are specified in x and y. If you're not using gnuplot 4.2 or later, these variables are ignored.