A simple way of displaying an image, using the image
function.
imshow(x,col=palette(gray(0:255/255)),useRaster = TRUE,...)
This function returns nothing.
the image to display as a matrix.
the color palette to use when displaying the image.
logical; if TRUE a bitmap raster is used to plot the image instead of polygons. The grid must be regular in that case, otherwise an error is raised. For the behaviour when this is not specified, see the ‘Details’ section of the image
function.
additionial arguments to provide to subfunctions.