I want to crop an eps file which has a white background. Also, the figure is not produced with LATEX.

it is better to change:
Also, the link of eps file as, https://www.dropbox.com/s/hfiftqmov2cgq26/Fig2a.eps?dl=0
I want to crop an eps file which has a white background. Also, the figure is not produced with LATEX.

it is better to change:
Also, the link of eps file as, https://www.dropbox.com/s/hfiftqmov2cgq26/Fig2a.eps?dl=0
-Eoption todvips. Other than that you can either edit the bounding box manually (the EPS is just a text file, the bounding box isx lower left y lower left x upper right y upper right. Or convert it into PDF viaepstopdfand usepdfcropon it. – daleif Aug 01 '16 at 06:43epsin your LaTeX editor (as mentioned it is just a text file). Then Replace the BoundingBox line by%%BoundingBox: 200 630 390 750(found by changing it by hand an previeiwing the result). BTW: the methods in the link you provided also work in EPS files. – daleif Aug 01 '16 at 08:32epspdf(a tex-lua script). I've done it , and obtained both a cropped .eps and the resulting .pdf. Is there any place where I can upload them? – Bernard Aug 01 '16 at 08:42epstoolwhich can fix the bounding box. Invoke it withepstool --copy --bbox Fig2a.eps Fig2b.epsat a command prompt. – Arash Esbati Aug 01 '16 at 08:59