I would use Im_factor = Re_factor (assuming square pixels on your screen). In other words, $(MaxRe-MinRe):(MaxIm-MinIm)$ should equal $(ImageWidth-1):(ImageHeight-1)$.
I would use Im_factor = Re_factor (assuming square pixels on your screen). In other words, $(MaxRe-MinRe):(MaxIm-MinIm)$ should equal $(ImageWidth-1):(ImageHeight-1)$.