im2dat.m is used to convert images to data which can be plotted using the standard MATLAB functions. This is very handy if you have plots on hardcopy and you want to convert them into data that MATLAB can use. The scanned image can be analysed by this function and the output will allow you to perfor ...