Thank you for sharing your code.
I hade used this code.
Initial position vector ([left bottom width height]),the unit is 'pixels' ,the width and height can be right,but left and bottom are wrong. the same problem is with 'initialPositionMagnifier'.
[Tempfirst,rect] = imcrop(Picfirst);
figure(2);imshow(Picfirst);title('Picfirst and Tempfirst');
'mode','interactive','edgeWidth', 3,'edgeColor', 'red');
This looks as a function I might as well quickly fall in love with. However, I am in troubles with how to make it work. I do not find it so straightforward how to install Xpdf on mac, OS X. Can anyone help me with step-by-step instructions on proper installation commands in the terminal?
I have found a temporary fix for the exporting as eps problem. When you export, do not "Save As" but instead use "Export Setup". Under "Rendering" in Properties, choose the Resolution as "Screen" (do NOT use Auto). This should keep the magnifying square where it should be.