Extremely useful for making color shaded plots for publication. PCOLOR gets rendered as patches in a pdf file, which is not optimal because you see the edges of the patches. Using imagesc or isagescnan outputs the shading as an embedded image. There is one bug in which I had the X and Y coordinates as a regular grid with 0.1 intervals, and it thought the grid was irregular and reverted to patches. Fixed by changing 1000 to 10000 on lines 231 and 284. This seemed to work with 0.01 intervals too.
nice function in general, but I run into errors (dimension mismatch in line 226) quite often when the matlab-native imagesc gives no errors.
I then just go and use it without x,y vectors but that's not very satisfactory.