showimg.m
Display an image
Usage h=showimg(x,y,A)
Very similar to imshow, but makes it easier to pass pixel coordinates.
Example usage:
A = imread('cameraman.tif');
A(1,1,3)=0; %set the green and blue channels to all zeros.
x = (1:size(A,2))*10+100;
y = (size(A,1):-1:1)*10+100;
showimg(x,y,A);
axis on