IMRECTANGLE IMRECTANGLE(r;x1;y1;x2;y2;c) colours the rectangle with bottom left corner (x1, y1) and top right corner (x2, y2) in the RGB image in matrix r to be colour c. Updated on December 4, 2017 Was this article helpful? Yes No