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
, thendisplay
fromImageMagick
, thenxv
, and thenxloadimage
. The actual program used can be changed using theimage_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.