UPDATE:I tried the solution with overpic and it works fine. But the problem is, sometimes, my experimental setup changes and I have to reproduce the eps file using different parameters from Matlab. This results in me again re-adjusting the co-ordinates to align the tex code corresponding to the different objects in the image(eps format). This is difficult when I have to do it often. Is there any solution for that?
QUES: I have an image of solid rectangle generated in eps
format from Matlab. Let us say, there is no other way for me to generate the same (I have other complicated things inside this rectangle). I want to mark the co-ordinates of the corners of this rectangle. Thus, I want to insert some text of the form
$(\lambda_{min},\lambda_{max})$
inside the image. The inbuilt editor of Matlab is not satisfactory. Is there any option in LaTeX to do the same?