Alphabetical list Categories
qimage Plot an image
Help text:

qimage(xywh, data) plots an image. xywh specifies a rectangle in data coordinates. The image data must be YxXx1 or YxXx3 and may either be UINT8 or DOUBLE.
qimage(data) plots the image at (0,0)+(XxY). Note that that differs by 0.5 units from matlab conventions.
qimage(xx, yy, data) specifies bin centers. (Only the first and last elements of xx and yy actually matter).
It is permissable for W or H to be negative; in that case, the image will be plotted upside down.

Example:

qfigure('qimage', 3, 3);

xx = repmat([1:10], 10, 1);

yy = xx';

img = cat(3, xx/10, yy/10, .5+0*xx);

qimage([0, 0, 1, 1], img);

QPlot Documentation — (C) Daniel Wagenaar, 2014–2019