I am experiencing several troubles in exporting figures in matlab. Typically I save figures in eps format and then I try to convert them in pdf using eps2pdf. The results is a figure with a huge white border around. How can I remove it and get a proper figure? I tried with
Without any success. Unfortunately if I try
does not work in mac, it returns the error
/bin/bash: pdfcrop: command not found
Nevertheless pdfcrop is installed because if I launch it from the terminal it works fine and the removes the borders correctly.