imagePlot function

Draws an image plot with a legend strip for the color scale based on either a regular grid or a grid of quadrilaterals.